[FIX] Image uploads (thumbnails) out of threads are not visible in regular message view (#16416)

pull/16617/head
Ashwani Yadav 5 years ago committed by GitHub
parent a08c3c72cd
commit 8fbd7b135f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/ui-message/client/message.js

@ -409,7 +409,7 @@ Template.message.helpers({
}, },
isThreadReply() { isThreadReply() {
const { groupable, msg: { tmid, t, groupable: _groupable }, settings: { showreply } } = this; const { groupable, msg: { tmid, t, groupable: _groupable }, settings: { showreply } } = this;
return !(groupable === false || _groupable === false) && !!(tmid && showreply && (!t || t === 'e2e')); return !(groupable === true || _groupable === true) && !!(tmid && showreply && (!t || t === 'e2e'));
}, },
collapsed() { collapsed() {
const { msg: { tmid, collapsed }, settings: { showreply }, shouldCollapseReplies } = this; const { msg: { tmid, collapsed }, settings: { showreply }, shouldCollapseReplies } = this;

Loading…
Cancel
Save