fix(communities)_: ensure community ID is populated with description
Possibly fixes: status-im/status-desktop#16226
This commit is contained in:
parent
74ae411548
commit
e6238e9288
|
@ -1628,6 +1628,12 @@ func (o *Community) marshaledDescription() ([]byte, error) {
|
|||
}
|
||||
}
|
||||
|
||||
// Ensure that communities created prior to the introduction of tokenized ownership
|
||||
// propagate community ID through the description.
|
||||
if len(clone.ID) == 0 {
|
||||
clone.ID = o.IDString()
|
||||
}
|
||||
|
||||
return proto.Marshal(clone)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue