summaryrefslogtreecommitdiff
path: root/poezio/ui
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-10 15:16:24 +0200
committermathieui <mathieui@mathieui.net>2020-05-23 16:10:13 +0200
commitea438438f2c397958be8171029bd673b17c35c16 (patch)
tree02c2dd133feafdbf7bc3ed211737d7193fd4258b /poezio/ui
parent4c1ab027ac03ae3f0925eab03f43a5ad79d906d5 (diff)
downloadpoezio-ea438438f2c397958be8171029bd673b17c35c16.tar.gz
poezio-ea438438f2c397958be8171029bd673b17c35c16.tar.bz2
poezio-ea438438f2c397958be8171029bd673b17c35c16.tar.xz
poezio-ea438438f2c397958be8171029bd673b17c35c16.zip
Add specific types for own leave and join
Diffstat (limited to 'poezio/ui')
-rw-r--r--poezio/ui/types.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/poezio/ui/types.py b/poezio/ui/types.py
index ae72b6b9..34924112 100644
--- a/poezio/ui/types.py
+++ b/poezio/ui/types.py
@@ -33,6 +33,14 @@ class InfoMessage(BaseMessage):
super().__init__(txt=txt, identifier=identifier, time=time)
+class MucOwnLeaveMessage(InfoMessage):
+ """Status message displayed on our room leave/kick/ban"""
+
+
+class MucOwnJoinMessage(InfoMessage):
+ """Status message displayed on our room join"""
+
+
class XMLLog(BaseMessage):
"""XML Log message"""
__slots__ = ('txt', 'time', 'identifier', 'incoming')