mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
new session service
This commit is contained in:
@@ -882,13 +882,13 @@ export class RoomService {
|
||||
|
||||
private async findMessageInDBByData({localReference, _id}) {
|
||||
|
||||
const a = await MessageModel.filter({localReference: localReference})
|
||||
const a = await MessageModel.filter({localReference: localReference}).execute()
|
||||
if(a.length >= 1) {
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
const c = await MessageModel.filter({_id: _id})
|
||||
const c = await MessageModel.filter({_id: _id}).execute()
|
||||
if(c.length >= 1) {
|
||||
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user