oh that wasnt it at all
parent
259f9db8f7
commit
9dd5420528
|
@ -486,8 +486,13 @@ class App(object):
|
||||||
if message["edited"]:
|
if message["edited"]:
|
||||||
info += " [edited]"
|
info += " [edited]"
|
||||||
|
|
||||||
callback = self.on_post if not no_action else ignore
|
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"]))
|
name = urwid.Text("~{}".format(self.usermap[message["author"]]["user_name"]))
|
||||||
|
|
||||||
post = str(message["post_id"])
|
post = str(message["post_id"])
|
||||||
head = urwid.Columns([
|
head = urwid.Columns([
|
||||||
(2 + len(post), urwid.AttrMap(
|
(2 + len(post), urwid.AttrMap(
|
||||||
|
|
Loading…
Reference in New Issue