Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
45f2388f
by wurstsalat at 2023-02-10T21:08:18+01:00
1 changed file:
Changes:
| ... | ... | @@ -870,7 +870,8 @@ def get_recent_muc_nicks(self, contact: GroupchatContact) -> list[str]: |
| 870 | 870 | |
| 871 | 871 | nicknames: list[str] = []
|
| 872 | 872 | for row in result:
|
| 873 | - if row.contact_name not in nicknames:
|
|
| 873 | + if (row.contact_name not in nicknames and
|
|
| 874 | + row.contact_name is not None):
|
|
| 874 | 875 | nicknames.append(row.contact_name)
|
| 875 | 876 | |
| 876 | 877 | return nicknames
|