Make last message correction work correctly in PM. See #8220

This commit is contained in:
Yann Leboulanger 2016-02-27 18:54:19 +01:00
parent 8bfc286d8f
commit 1f2eb5050c
1 changed files with 2 additions and 1 deletions

View File

@ -1368,7 +1368,8 @@ class GroupchatControl(ChatControlBase):
# print if a control is open
obj.session.control.print_conversation(obj.msgtxt,
tim=obj.timestamp, xhtml=obj.xhtml, encrypted=obj.encrypted,
displaymarking=obj.displaymarking)
displaymarking=obj.displaymarking, correct_id=(obj.id_,
obj.correct_id))
else:
# otherwise pass it off to the control to be queued
self.on_private_message(nick, obj.msgtxt, obj.timestamp,