Do not show a message as bounced if it was acked by a client

Fixes #3365
This commit is contained in:
mathieui 2017-12-27 20:16:50 +01:00
parent fd330114ac
commit 03a2e21ed7
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -211,6 +211,8 @@ class TextBuffer(object):
if i == -1:
return
msg = self.messages[i]
if msg.ack == 1: # Message was already acked
return False
if msg.jid != jid:
raise AckError(
'Wrong JID for message id %s (was %s, expected %s)' %