diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-11 17:09:06 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-11 17:09:06 +0300 |
commit | a63bef6a909a85816a35bfd555d4a61f54d0005b (patch) | |
tree | ed8a75031057237005a9e52164bcdd9413e897ad | |
parent | faa936c434fc8f3bb211e902ed00286dc3f55103 (diff) |
Fix avatar size to be a legal valuebugfix/noid/fix-avatar-size
And since it's better for iOS to be bigger,
we also bump the Message result icon size
so it looks sharp on high DPI devices
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Search/ConversationSearch.php | 2 | ||||
-rw-r--r-- | lib/Search/MessageSearch.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Search/ConversationSearch.php b/lib/Search/ConversationSearch.php index b570f8ae9..47c266b10 100644 --- a/lib/Search/ConversationSearch.php +++ b/lib/Search/ConversationSearch.php @@ -121,7 +121,7 @@ class ConversationSearch implements IProvider { if ($participantId !== $user->getUID()) { $icon = $this->url->linkToRouteAbsolute('core.avatar.getAvatar', [ 'userId' => $participantId, - 'size' => 128, + 'size' => 512, ]); } } diff --git a/lib/Search/MessageSearch.php b/lib/Search/MessageSearch.php index cce960fd2..0bb9db0a2 100644 --- a/lib/Search/MessageSearch.php +++ b/lib/Search/MessageSearch.php @@ -191,7 +191,7 @@ class MessageSearch implements IProvider { if ($message->getActorType() === Attendee::ACTOR_USERS) { $iconUrl = $this->url->linkToRouteAbsolute('core.avatar.getAvatar', [ 'userId' => $message->getActorId(), - 'size' => 64, + 'size' => 512, ]); } |