A few small tweaks. (#774)

- Use ShareLink instead of InviteFriendsCoordinator.
- Fix a string in the user menu
- Show the word Notification as the notification's body.

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
This commit is contained in:
Doug
2023-04-06 12:44:16 +01:00
committed by GitHub
parent fae6602797
commit 0911f9ba89
7 changed files with 15 additions and 60 deletions
@@ -73,8 +73,9 @@ extension NotificationItemProxy {
// return nil
// }
// For now we can't solve the sender ID nor get the type of message that we are displaying
// so we are just going to process all of them as common
try await processCommon(senderId: "undefined", roomId: roomId, mediaProvider: mediaProvider)
// so we are just going to process all of them as a text notification saying "Notification"
let content = TextMessageContent(body: L10n.notification, formatted: nil)
return try await processText(content: content, senderId: "undefined", roomId: roomId, mediaProvider: mediaProvider)
}
// MARK: - Private