X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fchannel%2Ftext.py;fp=src%2Fchannel%2Ftext.py;h=5212cd74d7e260ee1410d3f5ad4b54c32d0bb98d;hb=17ed78514215ad8e1358e329fb2e77ad749fe777;hp=206299c02adb9f57b504ebd96585e8de64951c8f;hpb=4a7e6557ad38e2b9a147ffeaf9d7b26fa46acc47;p=theonering diff --git a/src/channel/text.py b/src/channel/text.py index 206299c..5212cd7 100644 --- a/src/channel/text.py +++ b/src/channel/text.py @@ -129,7 +129,7 @@ class TextChannel(tp.ChannelTypeText): newConversations = list(newConversations) postSelfLen = len(newConversations) if postSelfLen < postUpdateLen: - self._conn.log_to_user(__name__, "Dropped %s messages due to being from self" % (postUpdateLen - postSelfLen)) + _moduleLogger.info("Dropped %s messages due to being from self" % (postUpdateLen - postSelfLen)) if not newConversations: _moduleLogger.debug( "New messages for %r are from yourself" % (self._contactKey, ) @@ -140,7 +140,7 @@ class TextChannel(tp.ChannelTypeText): newConversations = list(newConversations) postReadLen = len(newConversations) if postReadLen < postSelfLen: - self._conn.log_to_user(__name__, "Dropped %s messages due to already being read" % (postSelfLen- postReadLen)) + _moduleLogger.info("Dropped %s messages due to already being read" % (postSelfLen- postReadLen)) if not newConversations: _moduleLogger.debug( "New messages for %r have already been read externally" % (self._contactKey, )