refactor: Move huddle_with_uri to hash_util.

This commit is contained in:
Steve Howell
2018-08-04 14:52:37 +00:00
committed by Tim Abbott
parent fc62e554ce
commit a866f3ec17
4 changed files with 10 additions and 10 deletions

View File

@@ -92,6 +92,14 @@ exports.pm_with_uri = function (reply_to) {
]);
};
exports.huddle_with_uri = function (user_ids_string) {
// This method is convenient for callers
// that have already converted emails to a comma-delimited
// list of user_ids. We should be careful to keep this
// consistent with hash_util.decode_operand.
return "#narrow/pm-with/" + user_ids_string + '-group';
};
return exports;
}());