Add comment

This commit is contained in:
Juan Tejada 2017-01-26 00:06:04 -08:00
parent 073310f49f
commit 2391f58dfc

View file

@ -121,6 +121,7 @@ async function setThreadingReferences(db, baseMessage) {
// the sync loop)
// We should clean this code, its duplicated from the message processor
const thread = await baseMessage.getThread()
// TODO create thread for this message if it doesn't exist!
if (thread) {
const references = Array.from(new Set([
...baseMessage.references || [],