Daniel Brötzmann pushed to branch reactions at gajim / gajim


Commits:
848266ab by wurstsalat at 2024-05-18T20:53:33+02:00
fix: Reactions: Emit ReactionUpdated when deleting reaction

- - - - -


1 changed file:

- gajim/common/modules/reactions.py


Changes:

=====================================
gajim/common/modules/reactions.py
=====================================
@@ -108,6 +108,13 @@ def _process_reaction(
                 direction=direction,
             )
             self._log.info('Delete reactions: %s', properties.jid)
+            app.ged.raise_event(
+                ReactionUpdated(
+                    account=self._account,
+                    jid=remote_jid,
+                    reaction_id=properties.reactions.id,
+                )
+            )
             raise NodeProcessed
 
         # Set arbitrary limit of max reactions to prevent



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

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