Only check for 110 to know if the presence is ours

This is only be needed for non-compliant servers. Removing as there
might be corner cases where it's actually harmful.
Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent eec8dcc2
......@@ -456,7 +456,7 @@ class MucTab(ChatTab):
if presence['type'] == 'error':
self.core.room_error(presence, self.jid.bare)
elif not self.joined:
own = '110' in status_codes or self.own_nick == presence['from'].resource
own = '110' in status_codes
if own or len(self.presence_buffer) >= 10:
self.process_presence_buffer(presence, own)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment