Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

Commit 4f36fe1

Browse files
committed
Direct messages do not support thread
1 parent 6b44a1f commit 4f36fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/view/chat-box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ handlebars.registerHelper('isChannel', function(messageList, options) {
337337
})
338338

339339
handlebars.registerHelper('canStartThread', function(messageList, message, options) {
340-
if (messageList.type !== 'thread' && (!message.threadId || message.isThreadParent))
340+
if (messageList.type === 'channel' && (!message.threadId || message.isThreadParent))
341341
return options.fn(this)
342342
else
343343
return options.inverse(this)

0 commit comments

Comments
 (0)