* implemented grouping * implemented presenting the thread * improved the implementation by reusing the presentation action * add Thread group to DMs to differentiate from non threaded messages of the same DM * name for a threaded notification in group room * focus event when tapping on a notification * pr suggestions * document
30 lines
852 B
Swift
30 lines
852 B
Swift
//
|
|
// Copyright 2025 Element Creations Ltd.
|
|
// Copyright 2022-2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum NotificationConstants {
|
|
enum UserInfoKey {
|
|
static let roomIdentifier = "room_id"
|
|
static let eventIdentifier = "event_id"
|
|
static let threadRootEventIdentifier = "thread_root_event_id"
|
|
static let unreadCount = "unread_count"
|
|
static let pusherNotificationClientIdentifier = "pusher_notification_client_identifier"
|
|
static let receiverIdentifier = "receiver_id"
|
|
}
|
|
|
|
enum Category {
|
|
static let message = "message"
|
|
static let invite = "invite"
|
|
}
|
|
|
|
enum Action {
|
|
static let inlineReply = "inline-reply"
|
|
}
|
|
}
|