Enable the sending of quoted replies

This commit is contained in:
Scott Nonnenberg 2018-04-24 14:46:00 -07:00
parent fc757d4e29
commit c614c3968b
No known key found for this signature in database
GPG key ID: 5F82280C35134661

View file

@ -456,8 +456,8 @@
const contact = this.model.isIncoming() ? this.model.getContact() : null;
const attachments = this.model.get('attachments');
// TODO: used for the feature flag below
// const hasErrors = errors && errors.length > 0;
const errors = this.model.get('errors');
const hasErrors = errors && errors.length > 0;
const hasAttachments = attachments && attachments.length > 0;
const hasBody = this.hasTextContents();
@ -469,8 +469,7 @@
avatar: (contact && contact.getAvatar()),
profileName: (contact && contact.getProfileName()),
innerBubbleClasses: this.isImageWithoutCaption() ? '' : 'with-tail',
// TODO: Turn this on when we're ready to enable sending quoted replies
hoverIcon: false, // !hasErrors,
hoverIcon: !hasErrors,
hasAttachments,
reply: i18n('replyToMessage'),
}, this.render_partials()));