mirror of
https://github.com/status-im/status-go.git
synced 2025-03-04 00:21:01 +00:00
Fix panic syncing community token gated
This commit is contained in:
parent
9acabc6995
commit
b4b9db8578
@ -3254,6 +3254,12 @@ func (m *Messenger) handleSyncInstallationCommunity(messageState *ReceivedMessag
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO: if the community is token gated, it will be validated asynchronously
|
||||
// syncing needs to be adjusted in this case
|
||||
if savedCommunity == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
if err := m.handleCommunityTokensMetadataByPrivilegedMembers(savedCommunity); err != nil {
|
||||
logger.Debug("m.handleCommunityTokensMetadataByPrivilegedMembers", zap.Error(err))
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user