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


Commits:
d0be2941 by Philipp Hörist at 2025-06-08T20:18:04+02:00
cfix: Main: Pass report parameter correctly

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -1392,7 +1392,7 @@ def block_contact(self, account: str, jid: JID) -> None:
         def _on_response(response_id: str) -> None:
             if response_id not in ("report", "block"):
                 return
-            report = None if response_id == "report" else "spam"
+            report = "spam" if response_id == "report" else None
             client.get_module("Blocking").block([contact.jid], report)
             self._chat_page.remove_chat(account, contact.jid)
 



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

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