Explorar o código

Fix syncing community announcement groups

Tulir Asokan hai 1 ano
pai
achega
e3a93680b2
Modificáronse 2 ficheiros con 10 adicións e 0 borrados
  1. 9 0
      CHANGELOG.md
  2. 1 0
      portal.go

+ 9 - 0
CHANGELOG.md

@@ -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.

+ 1 - 0
portal.go

@@ -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
 		}