summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-09-02 12:25:07 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-09-02 12:25:07 +0200
commit7c7523e0ab0974e97d1e9bee17e961fefb06f42e (patch)
treebd8cc46d1122110b2ab795820f1a9c782fa7d238 /poezio/tabs
parenteec8dcc20632bb63a6b87791428463ae9f43d5a1 (diff)
downloadpoezio-7c7523e0ab0974e97d1e9bee17e961fefb06f42e.tar.gz
poezio-7c7523e0ab0974e97d1e9bee17e961fefb06f42e.tar.bz2
poezio-7c7523e0ab0974e97d1e9bee17e961fefb06f42e.tar.xz
poezio-7c7523e0ab0974e97d1e9bee17e961fefb06f42e.zip
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 “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 22e86705..d9c09b7c 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -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)
else: