Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-07-14 11:37:23 +0300
committerGitHub <noreply@github.com>2022-07-14 11:37:23 +0300
commit7ee31a0edae684025862288d3132776be92b45fe (patch)
tree7982efbb941a3e0278c6177b03b8bb9f381654d7
parent30c66369a3b98f107145cea6bf84df1a1a50631e (diff)
parentd7fdb3182ca9da41a27c025b5206e90885fcbead (diff)
Merge pull request #7589 from nextcloud/backport/7582/stable23
[stable23] Add more search attributes
-rw-r--r--lib/Search/MessageSearch.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Search/MessageSearch.php b/lib/Search/MessageSearch.php
index cd442e8cf..0e8fa30b7 100644
--- a/lib/Search/MessageSearch.php
+++ b/lib/Search/MessageSearch.php
@@ -221,6 +221,9 @@ class MessageSearch implements IProvider {
$entry->addAttribute('conversation', $room->getToken());
$entry->addAttribute('messageId', $comment->getId());
+ $entry->addAttribute('actorType', $comment->getActorType());
+ $entry->addAttribute('actorId', $comment->getActorId());
+ $entry->addAttribute('timestamp', '' . $comment->getCreationDateTime()->getTimestamp());
return $entry;
}