mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
Create narrow.update_email().
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user