mirror of
https://github.com/status-im/status-go.git
synced 2025-01-23 21:19:48 +00:00
fix: restore FetchCommunity&TryDatabase fallback to store nodes
Add missing check caused by recent `communities.GetByID` refactoring.
This commit is contained in:
parent
3a00c3fb9d
commit
3ddec465c5
@ -2565,7 +2565,7 @@ func (m *Messenger) FetchCommunity(request *FetchCommunityRequest) (*communities
|
||||
|
||||
if request.TryDatabase {
|
||||
community, err := m.FindCommunityInfoFromDB(communityID)
|
||||
if err != nil {
|
||||
if err != nil && err != communities.ErrOrgNotFound {
|
||||
return nil, err
|
||||
}
|
||||
if community != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user