mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
update chat, make it render
This commit is contained in:
@@ -48,6 +48,7 @@ export class ChatSystemService {
|
||||
loadingUsers = false
|
||||
|
||||
onRoomsLoad = new Subscribe({ execute: false, deleteOnExecute: true })
|
||||
private mainChangeDetector: Function = () => {}
|
||||
|
||||
|
||||
constructor(
|
||||
@@ -66,7 +67,7 @@ export class ChatSystemService {
|
||||
private AttachmentsService: AttachmentsService,
|
||||
private NetworkServiceService: NetworkServiceService,
|
||||
private ViewedMessageService: ViewedMessageService,
|
||||
private notificationService: NotificationsService
|
||||
private notificationService: NotificationsService,
|
||||
) {
|
||||
|
||||
|
||||
@@ -148,9 +149,15 @@ export class ChatSystemService {
|
||||
});
|
||||
}
|
||||
} catch(error) {}
|
||||
}
|
||||
|
||||
setMainChangeDetector(x:Function) {
|
||||
this.mainChangeDetector = x
|
||||
}
|
||||
|
||||
|
||||
runMainChangeDetector() {
|
||||
console.log("change")
|
||||
this.mainChangeDetector()
|
||||
}
|
||||
|
||||
loadChat() {
|
||||
|
||||
Reference in New Issue
Block a user