mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
create weakly event
This commit is contained in:
@@ -55,5 +55,7 @@ export class EventSetDefaultParticipantsService {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return ok(null)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,10 +102,10 @@ export class RoomSetLastMessageService {
|
||||
} else {
|
||||
console.log('set last message')
|
||||
}
|
||||
} else if (findRoom.isOk() && !findRoom.value && e.payload.receiverId) {
|
||||
} else if (findRoom.isOk() && !findRoom.value && e.payload?.receiverId) {
|
||||
// console.log('new room', e)
|
||||
const findLocalDirectRoom = await this.roomLocalRepository.findOne({
|
||||
receiverId: e.payload.receiverId
|
||||
receiverId: e.payload?.receiverId
|
||||
})
|
||||
|
||||
if(findLocalDirectRoom.isOk() && findLocalDirectRoom.value) {
|
||||
|
||||
Reference in New Issue
Block a user