diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2011-05-12 00:11:54 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2011-05-12 00:11:54 +0400 |
commit | 426d08ae09fd2335fe6a0fb2bbd18b16d25bddf5 (patch) | |
tree | 39e1622ef4b13823d02644e57002a921fac2f469 | |
parent | e8095fcdcb9cfdf2734e0c10bf4310066ce71713 (diff) |
correctly set message as read when we print them in chat control
-rw-r--r-- | src/roster_window.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roster_window.py b/src/roster_window.py index 7945bd622..d2cca8690 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2582,6 +2582,8 @@ class RosterWindow: 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, |