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 <coding@schilljs.com>2022-07-11 17:09:06 +0300
committerJoas Schilling <coding@schilljs.com>2022-07-11 17:09:06 +0300
commita63bef6a909a85816a35bfd555d4a61f54d0005b (patch)
treeed8a75031057237005a9e52164bcdd9413e897ad
parentfaa936c434fc8f3bb211e902ed00286dc3f55103 (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.php2
-rw-r--r--lib/Search/MessageSearch.php2
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,
]);
}