Make last message correction work correctly in PM. See #8220
This commit is contained in:
parent
8bfc286d8f
commit
1f2eb5050c
|
@ -1368,7 +1368,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
# print if a control is open
|
# print if a control is open
|
||||||
obj.session.control.print_conversation(obj.msgtxt,
|
obj.session.control.print_conversation(obj.msgtxt,
|
||||||
tim=obj.timestamp, xhtml=obj.xhtml, encrypted=obj.encrypted,
|
tim=obj.timestamp, xhtml=obj.xhtml, encrypted=obj.encrypted,
|
||||||
displaymarking=obj.displaymarking)
|
displaymarking=obj.displaymarking, correct_id=(obj.id_,
|
||||||
|
obj.correct_id))
|
||||||
else:
|
else:
|
||||||
# otherwise pass it off to the control to be queued
|
# otherwise pass it off to the control to be queued
|
||||||
self.on_private_message(nick, obj.msgtxt, obj.timestamp,
|
self.on_private_message(nick, obj.msgtxt, obj.timestamp,
|
||||||
|
|
Loading…
Reference in New Issue