Skip to content

Commit fe33c47

Browse files
committed
Fix bug where contact remove events were being ignored
1 parent 7e804f1 commit fe33c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appstate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (cli *Client) filterContacts(mutations []appstate.Mutation) ([]appstate.Mut
112112
func (cli *Client) dispatchAppState(mutation appstate.Mutation, fullSync bool, emitOnFullSync bool) {
113113
dispatchEvts := !fullSync || emitOnFullSync
114114

115-
if mutation.Operation != waServerSync.SyncdMutation_SET {
115+
if mutation.Action.ContactAction == nil && mutation.Operation != waServerSync.SyncdMutation_SET {
116116
return
117117
}
118118

0 commit comments

Comments
 (0)