From 7430efee5714232e1a0a704526098e58a9dc9352 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 19 Sep 2017 23:23:12 +0200 Subject: Change conversation (un)read marking --- libdino/src/service/chat_interaction.vala | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libdino/src') 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); } } -- cgit v1.2.3-70-g09d2