diff options
author | fiaxh <git@lightrise.org> | 2020-07-06 19:32:16 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-07-22 18:36:04 +0200 |
commit | b104be4842c4f5c309055052bd7b9d2fc9337113 (patch) | |
tree | 4ce6329e9d058a91624f1b2a4cf78d67262bf38c /libdino/src/service/message_processor.vala | |
parent | c887240fdcdbc8f76c6bdd37b1174b8154907c4c (diff) | |
download | dino-b104be4842c4f5c309055052bd7b9d2fc9337113.tar.gz dino-b104be4842c4f5c309055052bd7b9d2fc9337113.zip |
Don't create a second message object for each typing notification
Diffstat (limited to 'libdino/src/service/message_processor.vala')
-rw-r--r-- | libdino/src/service/message_processor.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/message_processor.vala b/libdino/src/service/message_processor.vala index e65d45ac..aedc0147 100644 --- a/libdino/src/service/message_processor.vala +++ b/libdino/src/service/message_processor.vala @@ -341,7 +341,7 @@ public class MessageProcessor : StreamInteractionModule, Object { message_sent_or_received(message, conversation); } - public async Entities.Message parse_message_stanza(Account account, Xmpp.MessageStanza message) { + private async Entities.Message parse_message_stanza(Account account, Xmpp.MessageStanza message) { string? body = message.body; if (body != null) body = body.strip(); Entities.Message new_message = new Entities.Message(body); |