Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Peter Shkenev
gajim
Commits
db954b6d
Commit
db954b6d
authored
2 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
fix: MUC: Don’t fail on presence from unknown occupants
Fixes
#10981
parent
32f2bcaa
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
gajim/common/modules/muc.py
+9
-1
9 additions, 1 deletion
gajim/common/modules/muc.py
with
9 additions
and
1 deletion
gajim/common/modules/muc.py
+
9
−
1
View file @
db954b6d
...
...
@@ -610,7 +610,15 @@ def _on_muc_user_presence(self,
# unavailable presence, because we left the MUC
return
presence
=
self
.
_process_user_presence
(
properties
)
try
:
presence
=
self
.
_process_user_presence
(
properties
)
except
KeyError
:
# Sometimes it seems to happen that we get unavailable presence
# from occupants we don’t know
log
.
warning
(
'
Unexpected presence received
'
)
log
.
warning
(
stanza
)
return
occupant
.
update_presence
(
presence
,
properties
)
def
_process_user_presence
(
self
,
...
...
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