From 5b5354004ec14f62c98ae9610ee74f16d113b11a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 18 Mar 2021 19:52:17 +0000 Subject: [PATCH] Don't show dm icons on dm timeline --- desktop_client.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/desktop_client.py b/desktop_client.py index f8584321b..afb9d38fb 100644 --- a/desktop_client.py +++ b/desktop_client.py @@ -507,9 +507,10 @@ def _desktopShowBoxJson(boxName: str, boxJson: {}, authorActor = postJsonObject['object']['attributedTo'] name = getNicknameFromActor(authorActor) if postJsonObject['object'].get('inReplyTo'): - name += '↲' - if isDM(postJsonObject): - name += '📧' + name += ' ↲' + if boxName != 'dm': + if isDM(postJsonObject): + name += '📧' if len(name) > 16: name = name[:16] else: