fix notification not working for selected room (#1864)

This commit is contained in:
Ajay Bura 2024-08-04 11:07:28 +05:30 committed by GitHub
parent 96222de5bc
commit 8ed78d48fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -16,11 +16,9 @@ import * as css from './UnverifiedTab.css';
export function UnverifiedTab() {
const mx = useMatrixClient();
const deviceList = useDeviceList();
console.log(deviceList);
const unverified = deviceList?.filter(
(device) => isCrossVerified(mx, device.device_id) === false
);
console.log(unverified);
if (!unverified?.length) return null;