improve chat

This commit is contained in:
Peter Maquiran
2022-01-11 16:07:54 +01:00
parent dcee5aa2f4
commit ab2198a412
5 changed files with 37 additions and 65 deletions
+19
View File
@@ -9,5 +9,24 @@ export class MessageService {
mentions = []
msg = ''
rid = ''
ts = {}
u = {}
_id =''
_updatedAt = {}
constructor() { }
setData({channels, mentions, msg ,rid ,ts, u, _id, _updatedAt}) {
this.channels = channels
this.mentions = mentions
this.msg = msg
this.rid = rid
this.ts = ts
this.u = u
this._id = _id
this._updatedAt = _updatedAt
}
delete() {}
}