Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gajim-plugins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evert Mouw
gajim-plugins
Commits
d6f845e5
Commit
d6f845e5
authored
7 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Fix LMC in Groupchat
parent
cebea4a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
omemo/omemoplugin.py
+12
-0
12 additions, 0 deletions
omemo/omemoplugin.py
with
12 additions
and
0 deletions
omemo/omemoplugin.py
+
12
−
0
View file @
d6f845e5
...
...
@@ -579,7 +579,19 @@ class OmemoPlugin(GajimPlugin):
if
not
state
.
encryption
.
is_active
(
to_jid
):
return
# Setting the ID here first for the old stanza object, which
# Gajim uses for message correction later.
# after cleanup_stanza() we have a new stanza object so we
# have to set the same ID so the ID we send matches with the
# ID from the correction stanza that Gajim hands us on a correction
# This is a nasty workaround, dont remove this or LMC in Groupchat
# will break for everything <= 0.16.8
new_id
=
gajim
.
connections
[
account
].
connection
.
getAnID
()
event
.
msg_iq
.
setID
(
new_id
)
self
.
cleanup_stanza
(
event
)
event
.
msg_iq
.
setID
(
new_id
)
plaintext
=
event
.
message
msg_dict
=
state
.
create_gc_msg
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment