From 9dd542052863452dce392ce5450c0ae7503d9c1b Mon Sep 17 00:00:00 2001 From: Blake DeMarcy Date: Wed, 12 Apr 2017 09:24:25 -0500 Subject: [PATCH] oh that wasnt it at all --- clients/urwid/main.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/clients/urwid/main.py b/clients/urwid/main.py index 76522f4..5fcf84b 100644 --- a/clients/urwid/main.py +++ b/clients/urwid/main.py @@ -486,8 +486,13 @@ class App(object): if message["edited"]: info += " [edited]" - callback = self.on_post if not no_action else ignore - name = urwid.Text("~{}".format(self.usermap[message["author"]]["user_name"])) + if no_action: + callback = ignore + name = urwid_rainbows("~SYSTEM", True) + else: + callback = self.on_post + name = urwid.Text("~{}".format(self.usermap[message["author"]]["user_name"])) + post = str(message["post_id"]) head = urwid.Columns([ (2 + len(post), urwid.AttrMap(