1
0
Fork 0

[speak] Avoid saying multiple identical message

This commit is contained in:
nemunaire 2015-04-15 09:54:25 +02:00
parent 002f2463a3
commit 48ebc1b1f5
1 changed files with 2 additions and 0 deletions

View File

@ -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)