Allow unicode within content

merge-requests/21/head
Bob Mottram 2021-03-15 19:21:10 +00:00
parent cb8fdba915
commit f82ee3bc6c
1 changed files with 1 additions and 2 deletions

View File

@ -461,8 +461,7 @@ def _showLocalBox(notifyJson: {}, boxName: str,
else:
while len(name) < 16:
name += ' '
udata = speakerJson['content']
content = udata.encode("ascii","ignore").decode().strip()
content = speakerJson['content']
if speakerJson.get('detectedLinks'):
if len(speakerJson['detectedLinks']) > 0:
content = '🔗' + content