mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Profile picture, notifications, chat romms
This commit is contained in:
@@ -19,15 +19,12 @@ export class RochetChatConnectorService {
|
||||
}
|
||||
|
||||
reConnect() {
|
||||
console.log('Connect1 ',this.ws.connected)
|
||||
if(!this.ws.connected) {
|
||||
this.ws.connect()
|
||||
console.log('Connect2 ',this.ws.connected)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
connect() {
|
||||
console.log('Check conetion 11')
|
||||
console.log(this.ws.connected)
|
||||
// dont connect if is already connected
|
||||
if(this.ws.connected == true) {
|
||||
console.log('Check conetion 22')
|
||||
@@ -744,7 +741,7 @@ export class RochetChatConnectorService {
|
||||
|
||||
private n = 0
|
||||
|
||||
private ws = {
|
||||
ws = {
|
||||
connected: false,
|
||||
registerCallback:(params: wsCallbacksParams) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user