diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-12-30 10:08:49 -0500 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-12-30 10:08:49 -0500 |
commit | ce0bada559e24501c31707dddd90f9d9b927a568 (patch) | |
tree | 6525b4aa99da78f493da67555d1c70e22317a1a5 /src/chat.py | |
parent | ed0134dbe552281278b5d6f0864c6a7d7fae32e0 (diff) |
chat: Reorganize how system messages are presented
Diffstat (limited to 'src/chat.py')
-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 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: |