From ce0bada559e24501c31707dddd90f9d9b927a568 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Mon, 30 Dec 2024 10:08:49 -0500 Subject: chat: Reorganize how system messages are presented --- src/chat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/chat.py') diff --git a/src/chat.py b/src/chat.py index bb82af8..b659395 100644 --- a/src/chat.py +++ b/src/chat.py @@ -158,7 +158,8 @@ class WeegtkChat(Adw.Bin): # the system instead of from a user if (len(user) == 0 or user[0] == "=" or user[0] == "-" or user[0] == "[" or user[0] == "<"): - user = f"{self.data['short_name']} {user}" + msg = "{}{}".format(user, msg) + user = "System" msg_type = "system" if count != 0: -- cgit