mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix
This commit is contained in:
@@ -234,31 +234,6 @@ export class WsChatService {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param roomId
|
||||
* @param key
|
||||
* @param funx
|
||||
*/
|
||||
receiveMyMessageConfirmation(roomId, funx: Function) {
|
||||
|
||||
this.ws.registerCallback({
|
||||
type:'Onmessage',
|
||||
funx:(message)=>{
|
||||
if(message.msg =='result') {
|
||||
if(message.result) {
|
||||
if(message.result.msg) {
|
||||
if(message.result.rid == roomId) {
|
||||
funx(message)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
receiveLiveMessageFromRoom(roomId, funx: Function) {
|
||||
|
||||
const key = roomId + funx;
|
||||
|
||||
Reference in New Issue
Block a user