Philipp Hörist pushed to branch reaction-notifications at gajim / gajim


Commits:
fd8ee531 by Philipp Hörist at 2026-03-28T13:19:12+01:00
cfix: Remove comments

- - - - -


1 changed file:

- gajim/gtk/activity_list.py


Changes:

=====================================
gajim/gtk/activity_list.py
=====================================
@@ -777,15 +777,14 @@ def from_event(cls, event: events.ReactionUpdated) -> 
Reaction:
                 event.jid, event.occupant, AvatarSize.ROSTER, scale
             )
             nickname = event.occupant.nickname
-            # TODO
-            # title = _("Reaction from %s") % f"{nickname} 
({contact.room.name})"
-            title = _("Reaction from %s") % nickname
+
         else:
             contact = client.get_module("Contacts").get_contact(event.jid)
             assert isinstance(contact, BareContact)
             texture = contact.get_avatar(AvatarSize.ROSTER, scale)
             nickname = contact.name
-            title = _("Reaction from %s") % nickname
+
+        title = _("Reaction from %s") % nickname
 
         assert event.message is not None
         assert event.emojis is not None



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/fd8ee531125eb9a1238238d96664c1d1d11af287
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