Add a specific notification body for space invites. (#4808)

This commit is contained in:
Doug
2025-12-02 17:07:03 +00:00
committed by GitHub
parent d545a2b904
commit 2556eccc29
7 changed files with 24 additions and 8 deletions
+2
View File
@@ -1034,6 +1034,8 @@ internal enum L10n {
internal static func notificationSenderMentionReply(_ p1: Any) -> String {
return L10n.tr("Localizable", "notification_sender_mention_reply", String(describing: p1))
}
/// Invited you to join the space
internal static var notificationSpaceInviteBody: String { return L10n.tr("Localizable", "notification_space_invite_body") }
/// You are viewing the notification! Click me!
internal static var notificationTestPushNotificationContent: String { return L10n.tr("Localizable", "notification_test_push_notification_content") }
/// Thread in %1$@
@@ -11776,6 +11776,11 @@ class NotificationItemProxyMock: NotificationItemProxyProtocol, @unchecked Senda
set(value) { underlyingRoomJoinedMembers = value }
}
var underlyingRoomJoinedMembers: Int!
var isRoomSpace: Bool {
get { return underlyingIsRoomSpace }
set(value) { underlyingIsRoomSpace = value }
}
var underlyingIsRoomSpace: Bool!
var isRoomDirect: Bool {
get { return underlyingIsRoomDirect }
set(value) { underlyingIsRoomDirect = value }