[speak] Avoid saying multiple identical message
This commit is contained in:
parent
002f2463a3
commit
48ebc1b1f5
@ -120,6 +120,8 @@ def append_message(msg):
|
||||
|
||||
if hasattr(msg, "message") and msg.message.find("TYPING ") == 0:
|
||||
return
|
||||
if last is not None and last.message == msg.message:
|
||||
return
|
||||
|
||||
vprnt = SpeakerVisitor(last)
|
||||
msg.accept(vprnt)
|
||||
|
Loading…
Reference in New Issue
Block a user