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:
AsamK 2016-04-08 23:34:34 +02:00
parent aa8a23aceb
commit 5c117bd863
3 changed files with 28 additions and 12 deletions

View file

@ -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;