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


Commits:
e885e506 by Philipp Hörist at 2025-03-22T08:59:18+01:00
fix: MUC: Don’t fail on affiliation change

- - - - -


1 changed file:

- gajim/gtk/control.py


Changes:

=====================================
gajim/gtk/control.py
=====================================
@@ -774,9 +774,9 @@ def __format_affiliation_change_self(
             return f"{message} {reason}"
 
         if affiliation.value in ("owner", "admin", "member"):
-            message = (
-                _("You are now %(affiliation)s of this group chat") % 
uf_affiliation
-            )
+            message = _("You are now %(affiliation)s of this group chat") % {
+                "affiliation": uf_affiliation
+            }
         else:
             # "none"
             message = _("Your affiliations to this group chat have been 
removed")



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

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