aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/replies.vala
diff options
context:
space:
mode:
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);