mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Enable lint rules for Promise handling to discourage misuse of them.
Squashed all of Hugh's commits into one.
This commit is contained in:
@@ -288,7 +288,7 @@ export class CallViewModel extends ViewModel {
|
||||
});
|
||||
}),
|
||||
// Then unhold them
|
||||
]).then(() => Promise.resolve({ unhold: ps })),
|
||||
]).then(() => ({ unhold: ps })),
|
||||
);
|
||||
} else {
|
||||
return EMPTY;
|
||||
|
||||
Reference in New Issue
Block a user