prevent a traceback when we get 2 'received' XEP-184 message for the same sent message
This commit is contained in:
parent
a0e9a0d905
commit
64cc3f907e
1 changed files with 2 additions and 1 deletions
|
@ -420,7 +420,8 @@ class ConversationTextview:
|
||||||
self.xep0184_shown[id] = NOT_SHOWN
|
self.xep0184_shown[id] = NOT_SHOWN
|
||||||
|
|
||||||
def show_it():
|
def show_it():
|
||||||
if self.xep0184_shown[id] == ALREADY_RECEIVED:
|
if (not id in self.xep0184_shown) or \
|
||||||
|
self.xep0184_shown[id] == ALREADY_RECEIVED:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
end_iter = buffer.get_iter_at_mark(
|
end_iter = buffer.get_iter_at_mark(
|
||||||
|
|
Loading…
Add table
Reference in a new issue