diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-02 12:25:07 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-09-02 12:25:07 +0200 |
commit | 7c7523e0ab0974e97d1e9bee17e961fefb06f42e (patch) | |
tree | bd8cc46d1122110b2ab795820f1a9c782fa7d238 | |
parent | eec8dcc20632bb63a6b87791428463ae9f43d5a1 (diff) | |
download | poezio-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>
-rw-r--r-- | poezio/tabs/muctab.py | 2 |
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: |