Don't send to blocked users

This commit is contained in:
Scott Nonnenberg 2022-02-24 18:40:56 -08:00 committed by GitHub
parent de942e1af2
commit fc62fd4564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 5 deletions

View file

@ -1095,7 +1095,7 @@ export class SignalProtocolStore extends EventsMixin {
throw new Error('getOpenDevices: this.sessions not yet cached!');
}
if (identifiers.length === 0) {
throw new Error('getOpenDevices: No identifiers provided!');
return { devices: [], emptyIdentifiers: [] };
}
try {