projects
/
theonering
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modifying the way isRead is handled to reduce false positives
[theonering]
/
src
/
channel
/
text.py
diff --git
a/src/channel/text.py
b/src/channel/text.py
index
77584bd
..
bac40b9
100644
(file)
--- a/
src/channel/text.py
+++ b/
src/channel/text.py
@@
-132,6
+132,8
@@
class TextChannel(tp.ChannelTypeText):
for newMessage in messages:
formattedMessage = self._format_message(newMessage)
self._report_new_message(formattedMessage)
+ for conv in newConversations:
+ conv.isRead = True
def _filter_out_reported(self, conversations):
return (