fix showing correct previous sent message. Fixes #7361
This commit is contained in:
parent
e96a2f2604
commit
1ca3a759bd
|
@ -900,7 +900,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
|
||||||
|
|
||||||
def _cb(msg, cb, *cb_args):
|
def _cb(msg, cb, *cb_args):
|
||||||
self.last_sent_msg = msg
|
self.last_sent_msg = msg
|
||||||
self.last_sent_txt = cb_args[1]
|
self.last_sent_txt = cb_args[0]
|
||||||
if cb:
|
if cb:
|
||||||
cb(msg, *cb_args)
|
cb(msg, *cb_args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue