With manually tracking read/unread, I don't think I need this anymore
authorEd Page <eopage@byu.net>
Fri, 25 Jun 2010 00:00:30 +0000 (19:00 -0500)
committerEd Page <eopage@byu.net>
Fri, 25 Jun 2010 00:00:30 +0000 (19:00 -0500)
src/channel/text.py

index 862c1ef..c3df7d2 100644 (file)
@@ -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)