aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/presence_manager.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-02-20 16:59:34 +0100
committerfiaxh <git@lightrise.org>2020-02-20 17:14:37 +0100
commit4c953b58827b0d3ccb1f3c052ed1c2b7242e7afa (patch)
tree8c820651bdb1cdd9692e8c5aaa9d0d2f84b4efb9 /libdino/src/service/presence_manager.vala
parentca264c42adc8147e66b90b748009f9f45d79cde9 (diff)
downloaddino-4c953b58827b0d3ccb1f3c052ed1c2b7242e7afa.tar.gz
dino-4c953b58827b0d3ccb1f3c052ed1c2b7242e7afa.zip
Only distinguish between typing or not (incoming)
fixes #739
Diffstat (limited to 'libdino/src/service/presence_manager.vala')
-rw-r--r--libdino/src/service/presence_manager.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdino/src/service/presence_manager.vala b/libdino/src/service/presence_manager.vala
index e832687d..f494bb54 100644
--- a/libdino/src/service/presence_manager.vala
+++ b/libdino/src/service/presence_manager.vala
@@ -9,6 +9,7 @@ public class PresenceManager : StreamInteractionModule, Object {
public string id { get { return IDENTITY.id; } }
public signal void show_received(Show show, Jid jid, Account account);
+ public signal void received_offline_presence(Jid jid, Account account);
public signal void received_subscription_request(Jid jid, Account account);
public signal void received_subscription_approval(Jid jid, Account account);
@@ -121,7 +122,7 @@ public class PresenceManager : StreamInteractionModule, Object {
}
}
}
- add_show(account, jid, Show.OFFLINE);
+ received_offline_presence(jid, account);
}
private void add_show(Account account, Jid jid, string s) {