add popup message

This commit is contained in:
Peter Maquiran
2023-09-22 15:17:25 +01:00
parent 97d33370fc
commit 1df6c308b2
23 changed files with 360 additions and 101 deletions
+8 -7
View File
@@ -74,13 +74,14 @@ export class ChatSystemService {
* when the connection is lost the subscribe is also lost, so we have to subscribe again when reconnection is establish.
*/
await this.chatService.refreshtoken();
await this.getUser();
this.RochetChatConnectorService.setStatus('online')
await this.getAllRooms();
this.subscribeToRoom();
//
this.getUserStatus();
this.RochetChatConnectorService.setStatus('online')
this.getUserStatus();
await this.chatService.refreshtoken();
this.getUser();
this.getAllRooms();
this.subscribeToRoom();
//
if(this.currentRoom) {
this.currentRoom.loadHistory({forceUpdate: true})