mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-3177 Fix removing spaces
This commit is contained in:
parent
2e7f843fd0
commit
4058a910ec
3 changed files with 6 additions and 15 deletions
|
@ -265,12 +265,11 @@ func (s *service) UpdateRemoteStatus(ctx context.Context, status spaceinfo.Space
|
|||
accountStatus := ctrl.GetStatus()
|
||||
if accountStatus != spaceinfo.AccountStatusDeleted && accountStatus != spaceinfo.AccountStatusRemoving {
|
||||
s.sendNotification(status.SpaceId)
|
||||
return ctrl.SetInfo(ctx, spaceinfo.SpacePersistentInfo{
|
||||
SpaceID: status.SpaceId,
|
||||
AccountStatus: spaceinfo.AccountStatusRemoving,
|
||||
})
|
||||
}
|
||||
return ctrl.SetInfo(ctx, spaceinfo.SpacePersistentInfo{
|
||||
SpaceID: status.SpaceId,
|
||||
AccountStatus: spaceinfo.AccountStatusRemoving,
|
||||
})
|
||||
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue