This commit is contained in:
Peter Maquiran
2023-08-15 10:15:08 +01:00
parent 4f4381a6d7
commit 30aba9b182
10 changed files with 107 additions and 129 deletions
+7 -1
View File
@@ -199,7 +199,7 @@ export class ChatSystemService {
}
}
async getAllRooms () {
async getAllRooms (callback:Function = () =>{} , roomIdCallback = "") {
this.loadingWholeList = true
var rooms;
@@ -295,7 +295,13 @@ export class ChatSystemService {
rooms.result.update[index]['membersExcludeMe'] = users
await this.prepareRoom(roomData);
}
}
if(roomId == roomIdCallback) {
callback()
}
index++;
}