Commit 872ee3d6 authored by Philipp Hörist's avatar Philipp Hörist

Fix presence subscription

Fixes #9612
parent 18272496
......@@ -174,7 +174,9 @@ class Presence:
# Convert the inital roster contact to a contact with resource
contact.resource = resource
event.old_show = status_strings.index(
event.old_show = 0
if in status_strings:
event.old_show = status_strings.index(
event.need_add_in_roster = True
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment