mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
CHG: make json envelope and error public so we can use it in mqtt package
This commit is contained in:
parent
1946d24440
commit
845cf661ce
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
package org.asamk.signal;
|
||||
|
||||
class JsonError {
|
||||
public class JsonError {
|
||||
|
||||
String message;
|
||||
|
||||
JsonError(Throwable exception) {
|
||||
public JsonError(Throwable exception) {
|
||||
this.message = exception.getMessage();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ import org.whispersystems.signalservice.api.messages.SignalServiceContent;
|
|||
import org.whispersystems.signalservice.api.messages.SignalServiceEnvelope;
|
||||
import org.whispersystems.signalservice.api.push.SignalServiceAddress;
|
||||
|
||||
class JsonMessageEnvelope {
|
||||
public class JsonMessageEnvelope {
|
||||
|
||||
String source;
|
||||
int sourceDevice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue