Fix syncing community announcement groups

This commit is contained in:
Tulir Asokan 2023-08-28 14:52:14 +03:00
parent 82484ff079
commit e3a93680b2
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,12 @@
# unreleased
* Added support for double puppeting with arbitrary `as_token`s.
See [docs](https://docs.mau.fi/bridges/general/double-puppeting.html#appservice-method-new) for more info.
* Fixed logging in with 8-letter code.
* Fixed syncing community announcement groups.
* Changed "Incoming call" message to explicitly say you have to open WhatsApp
on your phone to answer.
# v0.10.0 (2023-08-16)
* Bumped minimum Go version to 1.20.

View file

@ -1060,6 +1060,7 @@ func (portal *Portal) SyncParticipants(source *User, metadata *types.GroupInfo)
userIDs := make([]id.UserID, 0, len(metadata.Participants))
for _, participant := range metadata.Participants {
if participant.JID.IsEmpty() || participant.JID.Server != types.DefaultUserServer {
wg.Done()
// TODO handle lids
continue
}