aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/presence_manager.vala
diff options
context:
space:
mode:
authorSamuel Hand <samuel.d.hand@gmail.com>2018-08-10 01:40:20 +0100
committerSamuel Hand <samuel.d.hand@gmail.com>2018-08-10 01:40:20 +0100
commit8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f (patch)
tree4f5a7b77dc51470fa59b67f66e80beb7bb798901 /libdino/src/service/presence_manager.vala
parent36cc8b039338442512f0e86d9487d951b5f2c6e3 (diff)
downloaddino-8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f.tar.gz
dino-8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f.zip
Fix mutual subscription detection
Diffstat (limited to 'libdino/src/service/presence_manager.vala')
-rw-r--r--libdino/src/service/presence_manager.vala4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdino/src/service/presence_manager.vala b/libdino/src/service/presence_manager.vala
index 62100c2c..e832687d 100644
--- a/libdino/src/service/presence_manager.vala
+++ b/libdino/src/service/presence_manager.vala
@@ -11,7 +11,6 @@ public class PresenceManager : StreamInteractionModule, Object {
public signal void show_received(Show show, Jid jid, Account account);
public signal void received_subscription_request(Jid jid, Account account);
public signal void received_subscription_approval(Jid jid, Account account);
- public signal void mutual_subscription(Jid jid, Account account);
private StreamInteractor stream_interactor;
private HashMap<Jid, HashMap<Jid, ArrayList<Show>>> shows = new HashMap<Jid, HashMap<Jid, ArrayList<Show>>>(Jid.hash_bare_func, Jid.equals_bare_func);
@@ -99,9 +98,6 @@ public class PresenceManager : StreamInteractionModule, Object {
stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).received_subscription_approval.connect((stream, jid) => {
received_subscription_approval(jid, account);
});
- stream_interactor.module_manager.get_module(account, Presence.Module.IDENTITY).mutual_subscription.connect((stream, jid) => {
- mutual_subscription(jid, account);
- });
}
private void on_received_available_show(Account account, Jid jid, string show) {