Skip to content

Commit

Permalink
fixup! feat(conversations): add backend support of compact list
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Dec 13, 2024
1 parent 301db07 commit b13b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b13b586

Please sign in to comment.