fix: use CommunityShardKey's clock rather than community's clock
This commit is contained in:
parent
ac81c15805
commit
4a7d15b36d
|
@ -2825,7 +2825,7 @@ func (m *Messenger) HandleCommunityShardKey(state *ReceivedMessageState, message
|
|||
}
|
||||
|
||||
func (m *Messenger) handleCommunityShardAndFiltersFromProto(community *communities.Community, message *protobuf.CommunityShardKey) error {
|
||||
err := m.communitiesManager.UpdateShard(community, shard.FromProtobuff(message.Shard), community.Clock())
|
||||
err := m.communitiesManager.UpdateShard(community, shard.FromProtobuff(message.Shard), message.Clock)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue