Actually commit the thing

This commit is contained in:
Neil Alexander 2022-10-05 11:53:58 +01:00
parent 38aa223616
commit cb3b6e87ac
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -799,7 +799,7 @@ func (r *Queryer) QuerySharedUsers(ctx context.Context, req *api.QuerySharedUser
} }
roomIDs = roomIDs[:j] roomIDs = roomIDs[:j]
users, err := r.DB.JoinedUsersSetInRooms(ctx, roomIDs, req.OtherUserIDs) users, err := r.DB.JoinedUsersSetInRooms(ctx, roomIDs, req.OtherUserIDs, req.LocalOnly)
if err != nil { if err != nil {
return err return err
} }