aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/message_processor.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-07-06 19:32:16 +0200
committerfiaxh <git@lightrise.org>2020-07-22 18:36:04 +0200
commitb104be4842c4f5c309055052bd7b9d2fc9337113 (patch)
tree4ce6329e9d058a91624f1b2a4cf78d67262bf38c /libdino/src/service/message_processor.vala
parentc887240fdcdbc8f76c6bdd37b1174b8154907c4c (diff)
downloaddino-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.vala2
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);