mirror of https://gitlab.com/bashrc2/epicyon
Don't show dm icons on dm timeline
parent
4c64119484
commit
5b5354004e
|
|
@ -508,6 +508,7 @@ def _desktopShowBoxJson(boxName: str, boxJson: {},
|
||||||
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