diff options
author | Marvin W <git@larma.de> | 2023-03-01 19:50:29 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-03-02 00:02:32 +0100 |
commit | 76e1410c2aaa14a14d43851afc05f3793628cabc (patch) | |
tree | f14502defe52690fb180015992f87f2428d6c0f0 /libdino/src | |
parent | fb799e3ba8313ff2da53d9d5c34f8421f164cbf1 (diff) | |
download | dino-76e1410c2aaa14a14d43851afc05f3793628cabc.tar.gz dino-76e1410c2aaa14a14d43851afc05f3793628cabc.zip |
Fix typing notifications in groupchats
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/service/message_processor.vala | 4 |
1 files changed, 4 insertions, 0 deletions
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); |