changeset a14f61112c6f in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=a14f61112c6f
description: correctly set message as read when we print them in chat control
diffstat:
src/roster_window.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r b6788953d3b6 -r a14f61112c6f src/roster_window.py
--- a/src/roster_window.py Wed May 11 21:31:56 2011 +0200
+++ b/src/roster_window.py Wed May 11 22:11:54 2011 +0200
@@ -2582,6 +2582,8 @@
obj.session.control.print_conversation(obj.msgtxt, typ,
tim=obj.timestamp, encrypted=obj.encrypted, subject=obj.subject,
xhtml=obj.xhtml, displaymarking=obj.displaymarking)
+ if obj.msg_id:
+ gajim.logger.set_read_messages([obj.msg_id])
elif obj.popup:
if not obj.session.control:
contact = gajim.contacts.get_contact(obj.conn.name, obj.jid,
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits