fix new room select

This commit is contained in:
Ulf Gebhardt 2026-04-04 02:20:02 +02:00
parent a3d2744200
commit 9d35398b67
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -610,6 +610,7 @@ export default {
}, },
async fetchMessages({ room, options = {} }) { async fetchMessages({ room, options = {} }) {
this.activeRoomId = room.roomId
if (this.selectedRoom?.id !== room.id) { if (this.selectedRoom?.id !== room.id) {
this.messages = [] this.messages = []
this.oldestLoadedIndexId = null this.oldestLoadedIndexId = null