mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
always return a promise from this method, even if nothing to verify
This commit is contained in:
parent
cd5343414a
commit
25c8f1cf04
@ -222,7 +222,7 @@ export class RoomEncryption {
|
||||
}
|
||||
|
||||
/** fetches the devices that are not yet known locally from the homeserver to verify the sender of this message. */
|
||||
_fetchKeyAndVerifyDecryptionResults(results, hsApi, log) {
|
||||
async _fetchKeyAndVerifyDecryptionResults(results, hsApi, log) {
|
||||
const resultsWithoutDevice = results.filter(r => r.isVerificationUnknown);
|
||||
if (resultsWithoutDevice.length) {
|
||||
return log.wrap("fetch unverified senders", async log => {
|
||||
|
Loading…
Reference in New Issue
Block a user