You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Super useful, found in Gmail and Inbox. When im replying to an email to send to an alias, the from field when im composing is automatically send with the alias it was send to.
I'll try when I have time to fork and do a pull request. Very neat product btw.
The text was updated successfully, but these errors were encountered:
well, it looks likes i should change something along the below lines in the draft factory in draft-factory.js, however not sure if there will be any affected areas
DraftFactory.prototype.createOrUpdateDraftForReply = function(arg) {
var behavior, message, thread, type;
message = arg.message, thread = arg.thread, type = arg.type, behavior = arg.behavior;
if (type !== 'reply' && type !== 'reply-all') {
throw new Error("createOrUpdateDraftForReply called with " + type + ", not reply or reply-all");
}
return this.candidateDraftForUpdating(message, behavior).then((function(_this) {
return function(existingDraft) {
if (existingDraft) {
return _this.updateDraftForReply(existingDraft, {
message: message,
thread: thread,
type: type
});
} else {
return _this.createDraftForReply({
message: message,
thread: thread,
type: type
});
}
};
})(this));
};
Hello,
Super useful, found in Gmail and Inbox. When im replying to an email to send to an alias, the from field when im composing is automatically send with the alias it was send to.
I'll try when I have time to fork and do a pull request. Very neat product btw.
The text was updated successfully, but these errors were encountered: