projects
/
theonering
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8a3c64d
)
Fixing a bug on text channel creation / reporting
author
Ed Page
<eopage@byu.net>
Sat, 26 Jun 2010 01:09:31 +0000
(20:09 -0500)
committer
Ed Page
<eopage@byu.net>
Sat, 26 Jun 2010 01:09:31 +0000
(20:09 -0500)
src/channel/text.py
patch
|
blob
|
history
diff --git
a/src/channel/text.py
b/src/channel/text.py
index
c3df7d2
..
f4a9589
100644
(file)
--- a/
src/channel/text.py
+++ b/
src/channel/text.py
@@
-139,8
+139,8
@@
class TextChannel(tp.ChannelTypeText):
newConversations = gvoice.conversations.filter_out_read(newConversations)
newConversations = list(newConversations)
postReadLen = len(newConversations)
newConversations = gvoice.conversations.filter_out_read(newConversations)
newConversations = list(newConversations)
postReadLen = len(newConversations)
- if postReadLen < postReportedLen:
- self._conn.log_to_user(__name__, "Dropped %s messages due to already being read" % (postReportedLen - postReadLen))
+ if postReadLen < postSelfLen:
+ self._conn.log_to_user(__name__, "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, )
if not newConversations:
_moduleLogger.debug(
"New messages for %r have already been read externally" % (self._contactKey, )