mirror of https://gitlab.com/bashrc2/epicyon
Comments
parent
ed8e16e146
commit
7e331a912f
3
inbox.py
3
inbox.py
|
|
@ -1475,7 +1475,8 @@ def _bounce_dm(sender_post_id: str, session, http_prefix: str,
|
||||||
|
|
||||||
|
|
||||||
def _is_relayed_dm(post_json_object: {}) -> bool:
|
def _is_relayed_dm(post_json_object: {}) -> bool:
|
||||||
"""Returns true if the DM is relayed
|
"""Returns true if the DM is Signal encrypted and relayed
|
||||||
|
in a manner which won't be decrypted.
|
||||||
See https://holos.fedilab.app/e2ee
|
See https://holos.fedilab.app/e2ee
|
||||||
"""
|
"""
|
||||||
if 'holos:e2eeEnabled' not in post_json_object['object']:
|
if 'holos:e2eeEnabled' not in post_json_object['object']:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue