Outgoing group messages were not synced to slaves when a UntrustedIdentityException, a UnregisteredUserException or a PushNetworkException occured with at least one member. This commit catches the resulting EncapsulatedExceptions, sends the sync-sent messages to the sibling devices, and throws it again.
Fixes WhisperSystems/Signal-Android#4859.
Fixes AsamK/signal-cli/issues/37
Moxie declined them upstream. I'm not sure, if we should really merge this PR until the app and the desktop can differentiate between failed and succesful messages.
Outgoing group messages were not synced to slaves when a UntrustedIdentityException, a UnregisteredUserException or a PushNetworkException occured with at least one member. This commit catches the resulting EncapsulatedExceptions, sends the sync-sent messages to the sibling devices, and throws it again. Fixes WhisperSystems/Signal-Android#4859. Fixes AsamK/signal-cli/issues/37