Preact: Remove highlight when clicking DM header (#2449)

This commit is contained in:
Aurastic 2025-06-04 03:51:24 +05:30 committed by GitHub
parent 35be5515f9
commit 3dd9882a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,6 +505,7 @@ export class PSView extends preact.Component {
}
if (PS.room !== clickedRoom) {
if (clickedRoom) PS.room = clickedRoom;
PS.room.autoDismissNotifications();
PS.closePopupsAbove(clickedRoom);
PS.update();
}