mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 07:01:05 +01:00
Update pipe when injecting message sender
// FREEBIE
This commit is contained in:
@@ -105,7 +105,9 @@ public class SignalCommunicationModule {
|
||||
new SignalProtocolStoreImpl(context),
|
||||
BuildConfig.USER_AGENT,
|
||||
Optional.fromNullable(MessageRetrievalService.getPipe()),
|
||||
Optional.<SignalServiceMessageSender.EventListener>of(new SecurityEventListener(context)));
|
||||
Optional.of(new SecurityEventListener(context)));
|
||||
} else {
|
||||
this.messageSender.setMessagePipe(MessageRetrievalService.getPipe());
|
||||
}
|
||||
|
||||
return this.messageSender;
|
||||
|
||||
Reference in New Issue
Block a user