mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add documentation and remove console logs
This commit is contained in:
@@ -178,17 +178,17 @@ export class ContactsPage implements OnInit {
|
||||
|
||||
if(room.isOk()) {
|
||||
|
||||
console.log('room', room)
|
||||
console.log('result.value', result.value)
|
||||
console.log('receiverId', user.wxUserId)
|
||||
|
||||
// await this.chatServiceService.getRoomById(user.wxUserId.toString())
|
||||
this.close(user.wxUserId.toString())
|
||||
this.openMessageComponent(new RoomViewModel(room.value))
|
||||
}
|
||||
|
||||
} else {
|
||||
this.close(user.wxUserId.toString())
|
||||
const room = await this.chatServiceService.roomGetLocalById({
|
||||
$roomId: user.wxUserId.toString()
|
||||
})
|
||||
|
||||
if(room.isOk()) {
|
||||
this.openMessageComponent(new RoomViewModel(room.value))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user