mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix bug in chat with null messages
This commit is contained in:
parent
9f677fd767
commit
7af2fc4635
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ module.exports = MessageManager =
|
|||
|
||||
for message in messages
|
||||
do (message) ->
|
||||
if !message?
|
||||
return
|
||||
jobs.push (callback) ->
|
||||
getUserDetails message.user_id.toString(), (error, user) ->
|
||||
return callback(error) if error?
|
||||
|
|
Loading…
Reference in a new issue