mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -193,9 +193,10 @@ export class MessageService {
|
||||
}
|
||||
|
||||
if(this.NetworkServiceService.getCurrentNetworkStatus() == ConnectionStatus.Online) {
|
||||
|
||||
console.log('online send')
|
||||
this.WsChatService.send(params).then(
|
||||
(ChatMessage: any) => {
|
||||
console.log('response')
|
||||
ChatMessage = ChatMessage.message.result
|
||||
|
||||
this.messageSend = true
|
||||
@@ -204,6 +205,7 @@ export class MessageService {
|
||||
)
|
||||
|
||||
} else {
|
||||
console.log("reconnect")
|
||||
this.WsChatService.registerCallback({
|
||||
type: 'reConnect',
|
||||
funx: async ()=> {
|
||||
|
||||
Reference in New Issue
Block a user