aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/service')
-rw-r--r--libdino/src/service/counterpart_interaction_manager.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdino/src/service/counterpart_interaction_manager.vala b/libdino/src/service/counterpart_interaction_manager.vala
index e22ecb53..6ee55ae4 100644
--- a/libdino/src/service/counterpart_interaction_manager.vala
+++ b/libdino/src/service/counterpart_interaction_manager.vala
@@ -48,6 +48,9 @@ public class CounterpartInteractionManager : StreamInteractionModule, Object {
}
private async void on_chat_state_received(Account account, Jid jid, string state, MessageStanza stanza) {
+ // Don't show our own (other devices) typing notification
+ if (jid.equals_bare(account.bare_jid)) return;
+
Message message = yield stream_interactor.get_module(MessageProcessor.IDENTITY).parse_message_stanza(account, stanza);
Conversation? conversation = stream_interactor.get_module(ConversationManager.IDENTITY).get_conversation_for_message(message);
if (conversation == null) return;