summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-12-30 19:54:04 +0100
committermathieui <mathieui@mathieui.net>2014-12-30 19:54:04 +0100
commit25d2bcbbffd7038163916b48666830c095d20507 (patch)
treef174d4f4041c3be55c023504d085853374d09138 /src/tabs
parent1debbe6a7277e0cdfdda8d3f5430cac3c4411a77 (diff)
downloadpoezio-25d2bcbbffd7038163916b48666830c095d20507.tar.gz
poezio-25d2bcbbffd7038163916b48666830c095d20507.tar.bz2
poezio-25d2bcbbffd7038163916b48666830c095d20507.tar.xz
poezio-25d2bcbbffd7038163916b48666830c095d20507.zip
Only graphically ack a message if it was sent by us
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/basetabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index c238bbd4..730d702b 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -737,11 +737,11 @@ class OneToOneTab(ChatTab):
self.add_message(msg, typ=0)
self.core.refresh_window()
- def ack_message(self, msg_id):
+ def ack_message(self, msg_id, msg_jid):
"""
Ack a message
"""
- new_msg = self._text_buffer.ack_message(msg_id)
+ new_msg = self._text_buffer.ack_message(msg_id, msg_jid)
if new_msg:
self.text_win.modify_message(msg_id, new_msg)
self.core.refresh_window()