fix: add community status updates channel to list of filters on Init
This commit is contained in:
parent
6ac4fcd6e7
commit
9e833cd4c7
|
@ -949,7 +949,8 @@ func (o *Community) StatusUpdatesChannelID() string {
|
|||
|
||||
func (o *Community) DefaultFilters() []string {
|
||||
cID := o.IDString()
|
||||
return []string{cID, cID + "-ping"}
|
||||
updatesChannelID := o.StatusUpdatesChannelID()
|
||||
return []string{cID, updatesChannelID}
|
||||
}
|
||||
|
||||
func (o *Community) PrivateKey() *ecdsa.PrivateKey {
|
||||
|
|
|
@ -1220,7 +1220,7 @@ func (m *Messenger) Init() error {
|
|||
}
|
||||
for _, org := range joinedCommunities {
|
||||
// the org advertise on the public topic derived by the pk
|
||||
publicChatIDs = append(publicChatIDs, org.IDString())
|
||||
publicChatIDs = append(publicChatIDs, org.IDString(), org.StatusUpdatesChannelID())
|
||||
}
|
||||
|
||||
// Init filters for the communities we are an admin of
|
||||
|
|
Loading…
Reference in New Issue