Fix the small mechanical rules. [skip build]
Checks / checks (push) Successful in 2m12s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
litruv committed 2026-11-01 10:28:59 +11:00
1 parent bb85cd9778
commit 73554ecf7f
45 files changed
+331 -347

No files matched your search

+2 -2
View File
@@ -365,13 +365,13 @@ export function RoomNavItem({
const avatarContent = avatarEvent?.getContent();
const avatarMxc =
avatarContent && typeof avatarContent.url === 'string' ? avatarContent.url : undefined;
const avatarUrl = avatarMxc
const parentAvatarUrl = avatarMxc
? (mxcUrlToHttp(mx, avatarMxc, useAuthentication, 96, 96, 'crop') ?? undefined)
: undefined;
return {
name: parentSpace.name,
avatarUrl,
avatarUrl: parentAvatarUrl,
roomId: parentSpace.roomId,
};
})();