diff options
author | Joas Schilling <coding@schilljs.com> | 2021-12-01 16:48:03 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-12-01 16:57:31 +0300 |
commit | ab6dc43ad6a7d49f1d781051eec716e2c2b809ab (patch) | |
tree | 1ff3a4df03e8abfae31321c6c31b07e8d14e72eb /lib | |
parent | ee57c974772ac48f177e44a3b84c2bc0bdb6ed70 (diff) |
Expore message id for desktop client and notifications quick reply
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Notification/Notifier.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index e42dcb29f..e1100880f 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -392,6 +392,9 @@ class Notifier implements INotifier { if (!$this->notificationManager->isPreparingPushNotification()) { $notification->setParsedMessage($parsedMessage); $notification->setRichMessage($message->getMessage(), $message->getMessageParameters()); + + // Forward the message ID as well to the clients, so they can quote the message on replies + $notification->setObject('chat', $notification->getObjectId() . '/' . $comment->getId()); } $richSubjectParameters = [ |