new session service

This commit is contained in:
Peter Maquiran
2023-07-10 12:32:01 +01:00
parent 9676bab7eb
commit f6f61a11ca
13 changed files with 116 additions and 71 deletions
+2 -2
View File
@@ -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