Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Malte L
gajim-plugins
Commits
5fe9b21a
Commit
5fe9b21a
authored
Jan 05, 2019
by
Philipp Hörist
Browse files
[omemo] Add fallback body
parent
9f700bab
Changes
1
Show whitespace changes
Inline
Side-by-side
omemo/modules/omemo.py
View file @
5fe9b21a
...
...
@@ -594,6 +594,11 @@ class OMEMO:
'namespace'
:
NS_OMEMO
})
event
.
msg_iq
.
addChild
(
node
=
eme_node
)
# Add Message for devices that don't support OMEMO
support_msg
=
_
(
"You received a message encrypted with "
\
"OMEMO but your client doesn't support OMEMO."
)
event
.
msg_iq
.
setBody
(
support_msg
)
# Store Hint for MAM
store
=
Node
(
'store'
,
attrs
=
{
'xmlns'
:
NS_HINTS
})
event
.
msg_iq
.
addChild
(
node
=
store
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment