Notifications: turn newline symbols into real <br>
This commit is contained in:
parent
4a6e2ea46a
commit
7ae2ae6cd7
|
@ -2225,7 +2225,7 @@ class MatrixClient(nio.AsyncClient):
|
|||
|
||||
NotificationRequested(
|
||||
title = room_name,
|
||||
body = body,
|
||||
body = body.replace(" ⏎ ", "<br>"),
|
||||
high_importance = highlight,
|
||||
image = await self.get_notification_avatar(
|
||||
mxc=item.sender_avatar, user_id=item.sender_id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user