From 86bbaa437e9aa4129e5e492651898a0aa0b4f743 Mon Sep 17 00:00:00 2001 From: ajbura Date: Fri, 18 Feb 2022 19:28:55 +0530 Subject: [PATCH] Fix manage room showing rooms as dms in some homeserver Signed-off-by: ajbura --- src/app/organisms/space-manage/SpaceManage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/organisms/space-manage/SpaceManage.jsx b/src/app/organisms/space-manage/SpaceManage.jsx index fd275b3b..c7675882 100644 --- a/src/app/organisms/space-manage/SpaceManage.jsx +++ b/src/app/organisms/space-manage/SpaceManage.jsx @@ -100,7 +100,7 @@ function SpaceManageItem({ bgColor={colorMXID(roomId)} imageSrc={directs.has(roomId) ? imageSrc : null} iconColor="var(--ic-surface-low)" - iconSrc={joinRuleToIconSrc(roomInfo.join_rule, isSpace)} + iconSrc={joinRuleToIconSrc((roomInfo.join_rules || roomInfo.join_rule), isSpace)} size="extra-small" /> );