mirror of https://gitlab.com/bashrc2/epicyon
Don't show dm icons on dm timeline
parent
4c64119484
commit
5b5354004e
|
|
@ -507,7 +507,8 @@ def _desktopShowBoxJson(boxName: str, boxJson: {},
|
||||||
authorActor = postJsonObject['object']['attributedTo']
|
authorActor = postJsonObject['object']['attributedTo']
|
||||||
name = getNicknameFromActor(authorActor)
|
name = getNicknameFromActor(authorActor)
|
||||||
if postJsonObject['object'].get('inReplyTo'):
|
if postJsonObject['object'].get('inReplyTo'):
|
||||||
name += '↲'
|
name += ' ↲'
|
||||||
|
if boxName != 'dm':
|
||||||
if isDM(postJsonObject):
|
if isDM(postJsonObject):
|
||||||
name += '📧'
|
name += '📧'
|
||||||
if len(name) > 16:
|
if len(name) > 16:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue