Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
d54ec587
by wurstsalat at 2023-01-13T14:10:22+01:00
1 changed file:
Changes:
| ... | ... | @@ -1061,6 +1061,9 @@ def mark_as_read(self, |
| 1061 | 1061 | |
| 1062 | 1062 | last_message = app.storage.archive.get_last_conversation_line(
|
| 1063 | 1063 | account, jid)
|
| 1064 | + if last_message is None:
|
|
| 1065 | + return
|
|
| 1066 | + |
|
| 1064 | 1067 | client = app.get_client(account)
|
| 1065 | 1068 | contact = client.get_module('Contacts').get_contact(jid)
|
| 1066 | 1069 | client.get_module('ChatMarkers').send_displayed_marker(
|