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


Commits:
ee1c37bb by Philipp Hörist at 2024-05-13T16:54:29+02:00
cfix: Correctly mark MUC PMs

Fixes #11831

- - - - -


1 changed file:

- gajim/common/structs.py


Changes:

=====================================
gajim/common/structs.py
=====================================
@@ -115,7 +115,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/ee1c37bb489a786ca6985b86947224e46c8687ce

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