mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve
This commit is contained in:
@@ -67,7 +67,6 @@ export class WsChatMethodsService {
|
|||||||
funx: ()=>{
|
funx: ()=>{
|
||||||
this.subscribeToRoom()
|
this.subscribeToRoom()
|
||||||
|
|
||||||
|
|
||||||
if(this.getDmRoom(this.currentRoom)) {
|
if(this.getDmRoom(this.currentRoom)) {
|
||||||
this.getDmRoom(this.currentRoom).loadHistory({forceUpdate: true})
|
this.getDmRoom(this.currentRoom).loadHistory({forceUpdate: true})
|
||||||
} else if(this.getGroupRoom(this.currentRoom)) {
|
} else if(this.getGroupRoom(this.currentRoom)) {
|
||||||
|
|||||||
@@ -629,7 +629,11 @@ updateRoomEventss(roomId, collection:string, funx: Function, ) {
|
|||||||
|
|
||||||
console.log('================== welcome to socket server =====================')
|
console.log('================== welcome to socket server =====================')
|
||||||
|
|
||||||
this.ws.wsMsgQueue()
|
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.ws.wsMsgQueue()
|
||||||
|
}, 10)
|
||||||
|
|
||||||
if(this.wsReconnect >= 1) {
|
if(this.wsReconnect >= 1) {
|
||||||
for (const [key, value] of Object.entries(this.wsCallbacks)) {
|
for (const [key, value] of Object.entries(this.wsCallbacks)) {
|
||||||
if(value.type== 'reConnect') {
|
if(value.type== 'reConnect') {
|
||||||
|
|||||||
Reference in New Issue
Block a user