From b13b5864c749d951f7f4e16404a5e0dcca429d89 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Fri, 13 Dec 2024 15:48:50 +0100 Subject: [PATCH] fixup! feat(conversations): add backend support of compact list Signed-off-by: Maksim Sukharev --- lib/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Config.php b/lib/Config.php index 860163d0e65..3691b0ba4f5 100644 --- a/lib/Config.php +++ b/lib/Config.php @@ -705,7 +705,7 @@ public function getConversationsListStyle(?string $userId): int { if ($userId !== null) { $userSetting = $this->config->getUserValue($userId, 'spreed', UserPreference::CONVERSATIONS_COMPACT_LIST); if (!empty($userSetting)) { - return $userSetting; + return (int)$userSetting; } return 0; }