diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2020-04-22 18:40:27 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2020-04-22 18:41:47 +0200 |
commit | c93de19fde63ab1e7470ee2a02407d4c3119383b (patch) | |
tree | 718fc5d8a51bfcb9caa9395a35bcdf6f7d7cf585 /poezio/core/handlers.py | |
parent | 2d872e650f0196e4ff4410383dfb6d7b0395df99 (diff) | |
download | poezio-c93de19fde63ab1e7470ee2a02407d4c3119383b.tar.gz poezio-c93de19fde63ab1e7470ee2a02407d4c3119383b.tar.bz2 poezio-c93de19fde63ab1e7470ee2a02407d4c3119383b.tar.xz poezio-c93de19fde63ab1e7470ee2a02407d4c3119383b.zip |
[ci skip] Add TODOs re #3314
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 1078916f..a68b6986 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -736,6 +736,15 @@ class HandlerCore: tmp_dir = get_image_cache() body = xhtml.get_body_from_message_stanza( 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: return |