aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-09-19 23:23:12 +0200
committerfiaxh <git@mx.ax.lt>2017-09-19 23:39:17 +0200
commit7430efee5714232e1a0a704526098e58a9dc9352 (patch)
tree8f92e3e7185f07fc73e69aac3f1cfaa143a412b8 /libdino/src
parent8fdb38b99be9c588148d576c23212af765ff7302 (diff)
downloaddino-7430efee5714232e1a0a704526098e58a9dc9352.tar.gz
dino-7430efee5714232e1a0a704526098e58a9dc9352.zip
Change conversation (un)read marking
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/service/chat_interaction.vala4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdino/src/service/chat_interaction.vala b/libdino/src/service/chat_interaction.vala
index f08534aa..036d9e59 100644
--- a/libdino/src/service/chat_interaction.vala
+++ b/libdino/src/service/chat_interaction.vala
@@ -11,8 +11,6 @@ public class ChatInteraction : StreamInteractionModule, Object {
public signal void focused_in(Conversation conversation);
public signal void focused_out(Conversation conversation);
- public signal void conversation_read(Conversation conversation);
- public signal void conversation_unread(Conversation conversation);
private StreamInteractor stream_interactor;
private Conversation? selected_conversation;
@@ -80,7 +78,6 @@ public class ChatInteraction : StreamInteractionModule, Object {
focus_in = true;
if (conversation == null) return;
focused_in(selected_conversation);
- conversation_read(selected_conversation);
check_send_read();
selected_conversation.read_up_to = stream_interactor.get_module(MessageStorage.IDENTITY).get_last_message(conversation);
}
@@ -137,7 +134,6 @@ public class ChatInteraction : StreamInteractionModule, Object {
send_chat_marker(conversation, message, Xep.ChatMarkers.MARKER_DISPLAYED);
} else {
send_chat_marker(conversation, message, Xep.ChatMarkers.MARKER_RECEIVED);
- conversation_unread(conversation);
}
}