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/message.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/message.py') diff --git a/src/message.py b/src/message.py index 128dbed..7a14483 100644 --- a/src/message.py +++ b/src/message.py @@ -59,12 +59,11 @@ class WeegtkMessage(Gtk.Box): self.set_visible(True) self.username.set_label(data["username"]) - # Hide avatar for system messages + # Use gear avatar for system messages if data["type"] == "system": - self.avatar.set_visible(False) + self.avatar.set_text("\U00002699") # Gear emoji else: self.avatar.set_text(data["username"]) - self.avatar.set_visible(True) first = True for message in data["text"]: -- cgit