fix: use the uncompressed community pubkey as topic to receive requests

This commit is contained in:
Jonathan Rainville 2023-01-06 11:33:09 -05:00 committed by RichΛrd
parent 09723e3b9a
commit e98e6b61af
1 changed files with 2 additions and 1 deletions

View File

@ -1242,10 +1242,11 @@ func (o *Community) MemberUpdateChannelID() string {
func (o *Community) DefaultFilters() []string {
cID := o.IDString()
uncompressedPubKey := common.PubkeyToHex(o.config.ID)[2:]
updatesChannelID := o.StatusUpdatesChannelID()
mlChannelID := o.MagnetlinkMessageChannelID()
memberUpdateChannelID := o.MemberUpdateChannelID()
return []string{cID, updatesChannelID, mlChannelID, memberUpdateChannelID}
return []string{cID, uncompressedPubKey, updatesChannelID, mlChannelID, memberUpdateChannelID}
}
func (o *Community) PrivateKey() *ecdsa.PrivateKey {