mirror of https://github.com/zulip/zulip.git
stream_popover: Remove whitespace around topic name.
This commit is contained in:
parent
ec257f6ec3
commit
5f50e15ec5
|
@ -552,6 +552,7 @@ exports.register_topic_handlers = function () {
|
|||
|
||||
const {old_topic_name, select_stream_id} = params;
|
||||
let {current_stream_id, new_topic_name} = params;
|
||||
new_topic_name = new_topic_name.trim();
|
||||
current_stream_id = parseInt(current_stream_id, 10);
|
||||
|
||||
// The API endpoint for editing messages to change their
|
||||
|
|
Loading…
Reference in New Issue