mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-23 17:14:22 +01:00
Correctly use API for sending non group messages
is necessary so the correct sync messages are generated for linked accounts
This commit is contained in:
@@ -166,6 +166,8 @@ public class Main {
|
||||
handleAssertionError(e);
|
||||
} catch (DBusExecutionException e) {
|
||||
handleDBusExecutionException(e);
|
||||
} catch (UntrustedIdentityException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
String messageText = ns.getString("message");
|
||||
@@ -204,6 +206,8 @@ public class Main {
|
||||
System.exit(1);
|
||||
} catch (DBusExecutionException e) {
|
||||
handleDBusExecutionException(e);
|
||||
} catch (UntrustedIdentityException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -282,6 +286,8 @@ public class Main {
|
||||
handleAssertionError(e);
|
||||
} catch (GroupNotFoundException e) {
|
||||
handleGroupNotFoundException(e);
|
||||
} catch (UntrustedIdentityException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -314,6 +320,8 @@ public class Main {
|
||||
handleGroupNotFoundException(e);
|
||||
} catch (EncapsulatedExceptions e) {
|
||||
handleEncapsulatedExceptions(e);
|
||||
} catch (UntrustedIdentityException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user