diff options
-rw-r--r-- | src/chat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chat.py b/src/chat.py index 743778e..ede2817 100644 --- a/src/chat.py +++ b/src/chat.py @@ -140,7 +140,8 @@ class WeegtkChat(Adw.Bin): # TODO figure out if there is a way to check if a message is from the # the system instead of from a user - if len(user) == 0 or user[0] == "=" or user[0] == "-" or user[0] == "[": + if (len(user) == 0 or user[0] == "=" or user[0] == "-" or user[0] == "[" + or user[0] == "<"): user = f"{self.data['short_name']} {user}" msg_type = "system" |