mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-03 12:03:09 +00:00
remove unnecessary check for doc_id
This commit is contained in:
parent
c9ccf62d71
commit
618880f99d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module.exports = RealTimeRedisManager =
|
|||
data?._id = message_id
|
||||
# publish on separate channels for individual projects and docs when
|
||||
# configured (needs realtime to be configured for this too).
|
||||
if Settings.publishOnIndividualChannels and data.doc_id?
|
||||
if Settings.publishOnIndividualChannels
|
||||
pubsubClient.publish "applied-ops:#{data.doc_id}", JSON.stringify(data)
|
||||
else
|
||||
pubsubClient.publish "applied-ops", JSON.stringify(data)
|
||||
|
|
Loading…
Reference in a new issue