Notifications: turn newline symbols into real <br>

This commit is contained in:
miruka 2020-09-16 14:28:20 -04:00
parent 4a6e2ea46a
commit 7ae2ae6cd7

View File

@ -2225,7 +2225,7 @@ class MatrixClient(nio.AsyncClient):
NotificationRequested( NotificationRequested(
title = room_name, title = room_name,
body = body, body = body.replace("", "<br>"),
high_importance = highlight, high_importance = highlight,
image = await self.get_notification_avatar( image = await self.get_notification_avatar(
mxc=item.sender_avatar, user_id=item.sender_id, mxc=item.sender_avatar, user_id=item.sender_id,