mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
fix: set canPost to true for non-community channels
This commit is contained in:
parent
3f1547fc63
commit
3da9abfeb5
@ -477,6 +477,9 @@ func (api *API) getCommunityByID(id string) (*communities.Community, error) {
|
||||
}
|
||||
|
||||
func (chat *Chat) populateCommunityFields(community *communities.Community) error {
|
||||
chat.CanPost = true
|
||||
chat.CanPostMessages = true
|
||||
chat.CanPostReactions = true
|
||||
if community == nil {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user