mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00: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:
parent
aa8a23aceb
commit
5c117bd863
3 changed files with 28 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue