Do not show a message as bounced if it was acked by a client
Fixes #3365
This commit is contained in:
parent
fd330114ac
commit
03a2e21ed7
1 changed files with 2 additions and 0 deletions
|
@ -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)' %
|
||||
|
|
Loading…
Reference in a new issue