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


Commits:
38f14e5c by Philipp Hörist at 2024-05-13T16:53:51+02:00
cfix: Correctly mark MUC PMs

Fixes #11831

- - - - -


1 changed file:

- gajim/common/structs.py


Changes:

=====================================
gajim/common/structs.py
=====================================
@@ -116,7 +116,7 @@ def is_groupchat(self) -> bool:
 
     @property
     def is_pm(self) -> bool:
-        return self.type == MessageType.CHAT
+        return self.type == MessageType.PM
 
     def get_text(self, with_fallback: bool = True) -> str | None:
         if not with_fallback:



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

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