X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=src%2Fchannel%2Ftext.py;fp=src%2Fchannel%2Ftext.py;h=c3df7d2775b7efc19ebe4eb4d726415c5e5f0cc2;hp=862c1eff6a5a9aa665fa98c4800cd8c66d93ba39;hb=a2713ae4bb578c7a681599235ac9270148e393c5;hpb=422b35adb869e943ee019e1d45d24100dfa0d7e4 diff --git a/src/channel/text.py b/src/channel/text.py index 862c1ef..c3df7d2 100644 --- a/src/channel/text.py +++ b/src/channel/text.py @@ -39,8 +39,6 @@ class TextChannel(tp.ChannelTypeText): self.__callback ) - self._filter_out_reported = gvoice.conversations.FilterOutReported() - # The only reason there should be anything in the conversation is if # its new, so report it all try: @@ -138,17 +136,6 @@ class TextChannel(tp.ChannelTypeText): ) return - newConversations = self._filter_out_reported(newConversations) - newConversations = list(newConversations) - postReportedLen = len(newConversations) - if postReportedLen < postSelfLen: - self._conn.log_to_user(__name__, "Dropped %s messages due to already being reported" % (postSelfLen - postReportedLen)) - if not newConversations: - _moduleLogger.debug( - "New messages for %r have already been reported" % (self._contactKey, ) - ) - return - newConversations = gvoice.conversations.filter_out_read(newConversations) newConversations = list(newConversations) postReadLen = len(newConversations)