diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-07-14 11:37:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 11:37:23 +0300 |
commit | 7ee31a0edae684025862288d3132776be92b45fe (patch) | |
tree | 7982efbb941a3e0278c6177b03b8bb9f381654d7 | |
parent | 30c66369a3b98f107145cea6bf84df1a1a50631e (diff) | |
parent | d7fdb3182ca9da41a27c025b5206e90885fcbead (diff) |
Merge pull request #7589 from nextcloud/backport/7582/stable23
[stable23] Add more search attributes
-rw-r--r-- | lib/Search/MessageSearch.php | 3 |
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; } |