Create narrow.update_email().

This commit is contained in:
Steve Howell
2017-02-13 12:42:57 -08:00
committed by Tim Abbott
parent 0eeb023a03
commit 0bd3af2bc8
2 changed files with 28 additions and 0 deletions

View File

@@ -32,6 +32,13 @@ exports.operators = function () {
return current_filter.operators();
};
exports.update_email = function (user_id, new_email) {
if (current_filter !== undefined) {
current_filter.update_email(user_id, new_email);
}
};
/* Operators we should send to the server. */
exports.public_operators = function () {
if (current_filter === undefined) {