mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Add a specific notification body for space invites. (#4808)
This commit is contained in:
@@ -442,6 +442,7 @@
|
||||
"notification_room_invite_body_with_sender" = "%1$@ invited you to join the room";
|
||||
"notification_sender_me" = "Me";
|
||||
"notification_sender_mention_reply" = "%1$@ mentioned or replied";
|
||||
"notification_space_invite_body" = "Invited you to join the space";
|
||||
"notification_test_push_notification_content" = "You are viewing the notification! Click me!";
|
||||
"notification_ticker_text_dm" = "%1$@: %2$@";
|
||||
"notification_ticker_text_group" = "%1$@: %2$@ %3$@";
|
||||
|
||||
@@ -442,6 +442,7 @@
|
||||
"notification_room_invite_body_with_sender" = "%1$@ invited you to join the room";
|
||||
"notification_sender_me" = "Me";
|
||||
"notification_sender_mention_reply" = "%1$@ mentioned or replied";
|
||||
"notification_space_invite_body" = "Invited you to join the space";
|
||||
"notification_test_push_notification_content" = "You are viewing the notification! Click me!";
|
||||
"notification_ticker_text_dm" = "%1$@: %2$@";
|
||||
"notification_ticker_text_group" = "%1$@: %2$@ %3$@";
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user