mirror of https://gitlab.com/bashrc2/epicyon
Don't show dm icons on dm timeline
parent
4c64119484
commit
5b5354004e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue