remove publication mobile

This commit is contained in:
Peter Maquiran
2024-03-11 10:23:33 +01:00
parent b02971e70b
commit e87b4ccdef
9 changed files with 42 additions and 22 deletions
+12 -2
View File
@@ -144,8 +144,18 @@ export class LoginPage implements OnInit {
if (attempt.ChatData) {
await this.authService.loginToChatWs();
this.ChatService.setheader()
try {
await MessageModel.deleteAll();
await DeleteMessageModel.deleteAll();
this.ChatSystemService.clearChat();
this.NotificationHolderService.clear()
await this.authService.loginToChatWs();
this.ChatService.setheader()
} catch(error) {
console.log("faild to clear chat")
}
}