[FIX] Thread message not found (#1830)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
a7d7ff4bb9
commit
4dc04b8579
|
@ -144,7 +144,7 @@ export default async function(rid, msg, tmid, user) {
|
|||
_id: user.id || '1',
|
||||
username: user.username
|
||||
};
|
||||
if (tmid) {
|
||||
if (tmid && tMessageRecord) {
|
||||
m.tmid = tmid;
|
||||
m.tlm = messageDate;
|
||||
m.tmsg = tMessageRecord.msg;
|
||||
|
|
Loading…
Reference in New Issue