From 76e1410c2aaa14a14d43851afc05f3793628cabc Mon Sep 17 00:00:00 2001 From: Marvin W Date: Wed, 1 Mar 2023 19:50:29 +0100 Subject: Fix typing notifications in groupchats --- libdino/src/service/message_processor.vala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libdino') diff --git a/libdino/src/service/message_processor.vala b/libdino/src/service/message_processor.vala index 12bbeeac..45f06a69 100644 --- a/libdino/src/service/message_processor.vala +++ b/libdino/src/service/message_processor.vala @@ -451,6 +451,10 @@ public class MessageProcessor : StreamInteractionModule, Object { } } + if (conversation.get_send_typing_setting(stream_interactor) == Conversation.Setting.ON) { + ChatStateNotifications.add_state_to_message(new_message, ChatStateNotifications.STATE_ACTIVE); + } + stream.get_module(MessageModule.IDENTITY).send_message.begin(stream, new_message, (_, res) => { try { stream.get_module(MessageModule.IDENTITY).send_message.end(res); -- cgit v1.2.3-70-g09d2