aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/replies.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-01-29 23:06:01 +0100
committerfiaxh <git@lightrise.org>2023-01-30 22:54:55 +0100
commitb0b81b88c6948dcfd2b1b82a9fe7357316a3af1f (patch)
treeea44aed7431b955ef8b1636f74c8ebe42bacb099 /libdino/src/service/replies.vala
parent10a2bce5122dcd1e6fef037633a26568bf27d4d1 (diff)
downloaddino-b0b81b88c6948dcfd2b1b82a9fe7357316a3af1f.tar.gz
dino-b0b81b88c6948dcfd2b1b82a9fe7357316a3af1f.zip
Always display reaction+reply buttons, disable if not possible
Diffstat (limited to 'libdino/src/service/replies.vala')
-rw-r--r--libdino/src/service/replies.vala2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdino/src/service/replies.vala b/libdino/src/service/replies.vala
index 97db70ee..2bb10e0b 100644
--- a/libdino/src/service/replies.vala
+++ b/libdino/src/service/replies.vala
@@ -51,8 +51,6 @@ public class Dino.Replies : StreamInteractionModule, Object {
private void on_incoming_message(Entities.Message message, Xmpp.MessageStanza stanza, Conversation conversation) {
// Check if a previous message was in reply to this one
- string relevant_id = conversation.type_ == Conversation.Type.GROUPCHAT ? message.server_id : message.stanza_id;
-
var reply_qry = db.reply.select();
if (conversation.type_ == Conversation.Type.GROUPCHAT) {
reply_qry.with(db.reply.quoted_message_stanza_id, "=", message.server_id);