Skip to content

Commit

Permalink
fix(community)_: fix missing mediaserver when cloning a community
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrainville committed Nov 1, 2024
1 parent c040cc7 commit d6a8ef4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protocol/communities/community.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down

0 comments on commit d6a8ef4

Please sign in to comment.