Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
45f2388f by wurstsalat at 2023-02-10T21:08:18+01:00
fix: Nickname completion: Make sure recent nicknames list does not contain None
Fixes #11394
- - - - -
1 changed file:
- gajim/common/storage/archive.py
Changes:
=====================================
gajim/common/storage/archive.py
=====================================
@@ -870,7 +870,8 @@ def get_recent_muc_nicks(self, contact: GroupchatContact)
-> list[str]:
nicknames: list[str] = []
for row in result:
- if row.contact_name not in nicknames:
+ if (row.contact_name not in nicknames and
+ row.contact_name is not None):
nicknames.append(row.contact_name)
return nicknames
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/45f2388f773b1c31a2c7d58dcda28b8aa7647fdc
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/45f2388f773b1c31a2c7d58dcda28b8aa7647fdc
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits