From d6a8ef4695329d081fbfeadb493fc6fb6c935edc Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 1 Nov 2024 15:21:04 -0400 Subject: [PATCH] fix(community)_: fix missing mediaserver when cloning a community This caused communities being passed to the client via `handleCommunitiesSubscription` to not have images and they would "flash" in the client because it would disappear for a second then come back when another signal updated it back. --- protocol/communities/community.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/communities/community.go b/protocol/communities/community.go index 566be33362..4e6a865f7e 100644 --- a/protocol/communities/community.go +++ b/protocol/communities/community.go @@ -2444,7 +2444,8 @@ func (o *Community) CreateDeepCopy() *Community { PubsubTopicPrivateKey: o.config.PubsubTopicPrivateKey, LastOpenedAt: o.config.LastOpenedAt, }, - timesource: o.timesource, + timesource: o.timesource, + mediaServer: o.mediaServer, } }