Enable the sending of quoted replies
This commit is contained in:
parent
fc757d4e29
commit
c614c3968b
1 changed files with 3 additions and 4 deletions
|
@ -456,8 +456,8 @@
|
||||||
const contact = this.model.isIncoming() ? this.model.getContact() : null;
|
const contact = this.model.isIncoming() ? this.model.getContact() : null;
|
||||||
const attachments = this.model.get('attachments');
|
const attachments = this.model.get('attachments');
|
||||||
|
|
||||||
// TODO: used for the feature flag below
|
const errors = this.model.get('errors');
|
||||||
// const hasErrors = errors && errors.length > 0;
|
const hasErrors = errors && errors.length > 0;
|
||||||
const hasAttachments = attachments && attachments.length > 0;
|
const hasAttachments = attachments && attachments.length > 0;
|
||||||
const hasBody = this.hasTextContents();
|
const hasBody = this.hasTextContents();
|
||||||
|
|
||||||
|
@ -469,8 +469,7 @@
|
||||||
avatar: (contact && contact.getAvatar()),
|
avatar: (contact && contact.getAvatar()),
|
||||||
profileName: (contact && contact.getProfileName()),
|
profileName: (contact && contact.getProfileName()),
|
||||||
innerBubbleClasses: this.isImageWithoutCaption() ? '' : 'with-tail',
|
innerBubbleClasses: this.isImageWithoutCaption() ? '' : 'with-tail',
|
||||||
// TODO: Turn this on when we're ready to enable sending quoted replies
|
hoverIcon: !hasErrors,
|
||||||
hoverIcon: false, // !hasErrors,
|
|
||||||
hasAttachments,
|
hasAttachments,
|
||||||
reply: i18n('replyToMessage'),
|
reply: i18n('replyToMessage'),
|
||||||
}, this.render_partials()));
|
}, this.render_partials()));
|
||||||
|
|
Loading…
Reference in a new issue