Philipp Hörist pushed to branch master at gajim / gajim


Commits:
e8fef3d7 by Philipp Hörist at 2024-04-12T18:09:08+02:00
cfix: Correctly determine nickname in private messages

- - - - -


1 changed file:

- gajim/gtk/conversation/rows/message.py


Changes:

=====================================
gajim/gtk/conversation/rows/message.py
=====================================
@@ -216,6 +216,11 @@ def _get_contact_name(
                 return contact.name
             return resource
 
+        elif db_row.type == MessageType.PM:
+            resource = db_row.resource
+            assert resource is not None
+            return resource
+
         else:
             raise ValueError
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e8fef3d72d47c667058735f888365a7e720d5b75

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e8fef3d72d47c667058735f888365a7e720d5b75
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to