diff options
author | Samuel Hand <samuel.d.hand@gmail.com> | 2018-08-10 01:40:20 +0100 |
---|---|---|
committer | Samuel Hand <samuel.d.hand@gmail.com> | 2018-08-10 01:40:20 +0100 |
commit | 8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f (patch) | |
tree | 4f5a7b77dc51470fa59b67f66e80beb7bb798901 /plugins/omemo/src/manager.vala | |
parent | 36cc8b039338442512f0e86d9487d951b5f2c6e3 (diff) | |
download | dino-8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f.tar.gz dino-8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f.zip |
Fix mutual subscription detection
Diffstat (limited to 'plugins/omemo/src/manager.vala')
-rw-r--r-- | plugins/omemo/src/manager.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/manager.vala b/plugins/omemo/src/manager.vala index bb8063b2..c75b15e2 100644 --- a/plugins/omemo/src/manager.vala +++ b/plugins/omemo/src/manager.vala @@ -70,7 +70,7 @@ public class Manager : StreamInteractionModule, Object { stream_interactor.account_added.connect(on_account_added); stream_interactor.get_module(MessageProcessor.IDENTITY).received_pipeline.connect(received_message_listener); stream_interactor.get_module(MessageProcessor.IDENTITY).pre_message_send.connect(on_pre_message_send); - stream_interactor.get_module(PresenceManager.IDENTITY).mutual_subscription.connect(on_mutual_subscription); + stream_interactor.get_module(RosterManager.IDENTITY).mutual_subscription.connect(on_mutual_subscription); } private class ReceivedMessageListener : MessageListener { @@ -174,7 +174,7 @@ public class Manager : StreamInteractionModule, Object { } } - private void on_mutual_subscription(Jid jid, Account account) { + private void on_mutual_subscription(Account account, Jid jid) { XmppStream? stream = stream_interactor.get_stream(account); if(stream == null) return; |