[ci skip] Add TODOs re #3314

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-22 18:40:27 +02:00
parent 2d872e650f
commit c93de19fde
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 10 additions and 0 deletions

View file

@ -736,6 +736,15 @@ class HandlerCore:
tmp_dir = get_image_cache() tmp_dir = get_image_cache()
body = xhtml.get_body_from_message_stanza( body = xhtml.get_body_from_message_stanza(
message, use_xhtml=use_xhtml, extract_images_to=tmp_dir) message, use_xhtml=use_xhtml, extract_images_to=tmp_dir)
# TODO: #3314. Is this a MUC reflection?
# Is this an encrypted message? Is so ignore.
# It is not possible in the OMEMO case to decrypt these messages
# since we don't encrypt for our own device (something something
# forward secrecy), but even for non-FS encryption schemes anyway
# messages shouldn't have changed after a round-trip to the room.
# Otherwire replace the matching message we sent.
if not body: if not body:
return return

View file

@ -1716,6 +1716,7 @@ class MucTab(ChatTab):
self.text_win.refresh() self.text_win.refresh()
self.input.refresh() self.input.refresh()
return return
# TODO: #3314. Display outgoing MUC message.
self.set_last_sent_message(msg, correct=correct) self.set_last_sent_message(msg, correct=correct)
msg.send() msg.send()
self.chat_state = needed self.chat_state = needed