mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-26 10:07:47 +01:00
30 lines
1020 B
Diff
30 lines
1020 B
Diff
From 89ffe82738128afc556bdbf5e07a1ed05640a78b Mon Sep 17 00:00:00 2001
|
|
From: SpiritCroc <dev@spiritcroc.de>
|
|
Date: Tue, 18 Jan 2022 13:28:22 +0100
|
|
Subject: Disable sticky rooms
|
|
|
|
---
|
|
src/stores/room-list/algorithms/Algorithm.ts | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/stores/room-list/algorithms/Algorithm.ts b/src/stores/room-list/algorithms/Algorithm.ts
|
|
index c3450d70cf..e296676149 100644
|
|
--- a/src/stores/room-list/algorithms/Algorithm.ts
|
|
+++ b/src/stores/room-list/algorithms/Algorithm.ts
|
|
@@ -159,8 +159,10 @@ export class Algorithm extends EventEmitter {
|
|
this.recalculateActiveCallRooms(tagId);
|
|
}
|
|
|
|
- private updateStickyRoom(val: Room | null): void {
|
|
- this.doUpdateStickyRoom(val);
|
|
+ private updateStickyRoom(val: Room) {
|
|
+ // Schildi: we don't want it sticky
|
|
+ this.doUpdateStickyRoom(null);
|
|
+ //this.doUpdateStickyRoom(val);
|
|
this._lastStickyRoom = null; // clear to indicate we're done changing
|
|
}
|
|
|
|
--
|
|
2.47.0
|
|
|