diff options
author | mathieui <mathieui@mathieui.net> | 2017-12-27 20:16:50 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-12-27 20:16:50 +0100 |
commit | 03a2e21ed7a53a36f8ccc4d7e9753ef4f5020a98 (patch) | |
tree | fbd44b9e61122584e8076e5037241a9514dc8cea | |
parent | fd330114ac03eeb03d733106e20f873c56480b26 (diff) | |
download | poezio-03a2e21ed7a53a36f8ccc4d7e9753ef4f5020a98.tar.gz poezio-03a2e21ed7a53a36f8ccc4d7e9753ef4f5020a98.tar.bz2 poezio-03a2e21ed7a53a36f8ccc4d7e9753ef4f5020a98.tar.xz poezio-03a2e21ed7a53a36f8ccc4d7e9753ef4f5020a98.zip |
Do not show a message as bounced if it was acked by a client
Fixes #3365
-rw-r--r-- | poezio/text_buffer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py index 3e6732cf..b247a8d8 100644 --- a/poezio/text_buffer.py +++ b/poezio/text_buffer.py @@ -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)' % |