From 016ab2c19b0760792f3ea8f00bfc46b49500f96a Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 30 Aug 2019 17:11:20 +0200 Subject: Fix message type of chat state notification fixes #607 --- libdino/src/service/chat_interaction.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdino/src/service') diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala index 9fc471fb..de352e95 100644 --- a/libdino/src/service/chat_interaction.vala +++ b/libdino/src/service/chat_interaction.vala @@ -180,7 +180,7 @@ public class ChatInteraction : StreamInteractionModule, Object { private void send_chat_state_notification(Conversation conversation, string state) { XmppStream? stream = stream_interactor.get_stream(conversation.account); if (stream != null && conversation.get_send_typing_setting(stream_interactor) == Conversation.Setting.ON) { - string message_type = conversation.type_ == Conversation.Type.GROUPCHAT ? Xmpp.MessageStanza.TYPE_GROUPCHAT : Xmpp.MessageStanza.TYPE_GROUPCHAT; + string message_type = conversation.type_ == Conversation.Type.GROUPCHAT ? Xmpp.MessageStanza.TYPE_GROUPCHAT : Xmpp.MessageStanza.TYPE_CHAT; stream.get_module(Xep.ChatStateNotifications.Module.IDENTITY).send_state(stream, conversation.counterpart, message_type, state); } } -- cgit v1.2.3-70-g09d2