CHG: make json envelope and error public so we can use it in mqtt package

This commit is contained in:
peteh 2018-12-24 14:51:29 +01:00
parent 1946d24440
commit 845cf661ce
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
package org.asamk.signal; package org.asamk.signal;
class JsonError { public class JsonError {
String message; String message;
JsonError(Throwable exception) { public JsonError(Throwable exception) {
this.message = exception.getMessage(); this.message = exception.getMessage();
} }
} }

View file

@ -4,7 +4,7 @@ import org.whispersystems.signalservice.api.messages.SignalServiceContent;
import org.whispersystems.signalservice.api.messages.SignalServiceEnvelope; import org.whispersystems.signalservice.api.messages.SignalServiceEnvelope;
import org.whispersystems.signalservice.api.push.SignalServiceAddress; import org.whispersystems.signalservice.api.push.SignalServiceAddress;
class JsonMessageEnvelope { public class JsonMessageEnvelope {
String source; String source;
int sourceDevice; int sourceDevice;