[speak] Avoid saying multiple identical message

This commit is contained in:
nemunaire 2015-04-15 09:54:25 +02:00
parent 002f2463a3
commit 48ebc1b1f5

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)