This commit is contained in:
2023-07-28 12:46:02 +02:00
parent 864b868f45
commit da851a985b
6 changed files with 58 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ class NotificationMessage {
}
class MessagingNotification {
const MessagingNotification(this.title, this.id, this.messages, this.channelId);
const MessagingNotification(this.title, this.id, this.jid, this.messages, this.channelId);
/// The title of the conversation.
final String title;
@@ -65,6 +65,9 @@ class MessagingNotification {
/// The id of the notification channel the notification should appear on.
final String channelId;
/// The JID of the chat in which the notifications happen.
final String jid;
/// Messages to show.
final List<NotificationMessage?> messages;
}