edit_bot: Include current bot owner to bot owner dropdown.

This commit is contained in:
Hardik Dharmani 2023-05-12 18:22:15 +05:30 committed by Tim Abbott
parent d221cb92c6
commit 72e628ffdf
1 changed files with 0 additions and 2 deletions

View File

@ -419,8 +419,6 @@ export function show_edit_bot_info_modal(user_id, from_user_info_popover) {
function get_options() {
const user_ids = people.get_active_human_ids();
// Remove current owner.
user_ids.splice(user_ids.indexOf(owner_id), 1);
return user_ids.map((user_id) => ({
name: people.get_full_name(user_id),
unique_id: user_id,