Extract the "other devices" logic from DeviceListener (#32419)

* Extract the other devices logic from DeviceListener

* Remove unneeded async modifier on dismissUnverifiedSessions
This commit is contained in:
Andy Balaam
2026-02-09 15:14:25 +00:00
committed by GitHub
parent 562f7cc2bd
commit 563f6d338c
3 changed files with 218 additions and 117 deletions
+1 -1
View File
@@ -734,7 +734,7 @@ describe("DeviceListener", () => {
new Set<string>([device3.deviceId]),
);
await instance.dismissUnverifiedSessions([device3.deviceId]);
await instance.otherDevices?.dismissUnverifiedSessions([device3.deviceId]);
await flushPromises();
expect(BulkUnverifiedSessionsToast.hideToast).toHaveBeenCalled();