From e9e8ced59137ebc35c4a73a021919bffc7507d15 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 28 Apr 2022 09:41:57 +0200 Subject: [PATCH] fix(@community): fix edit community save --- .../Chat/views/CommunitySettingsView.qml | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/ui/app/AppLayouts/Chat/views/CommunitySettingsView.qml b/ui/app/AppLayouts/Chat/views/CommunitySettingsView.qml index d7c09cd7eb..6b05f726f2 100644 --- a/ui/app/AppLayouts/Chat/views/CommunitySettingsView.qml +++ b/ui/app/AppLayouts/Chat/views/CommunitySettingsView.qml @@ -122,17 +122,18 @@ StatusAppTwoPanelLayout { onEdited: { root.chatCommunitySectionModule.editCommunity( - Utils.filterXSS(item.name), - Utils.filterXSS(item.description), - root.community.access, - false, // FIXME - item.color.toString().toUpperCase(), - item.image === root.community.image ? "" : item.image, - item.imageAx, - item.imageAy, - item.imageBx, - item.imageBy, - ) + Utils.filterXSS(item.name), + Utils.filterXSS(item.description), + root.community.access, + false, // FIXME + item.color.toString().toUpperCase(), + item.image === root.community.image ? "" : item.image, + item.imageAx, + item.imageAy, + item.imageBx, + item.imageBy, + root.rootStore.isCommunityHistoryArchiveSupportEnabled, + ) } }