mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_admin_shell: Mark event as handled when requested input is submitted
This commit is contained in:
parent
a1fda1fd1a
commit
f40e997879
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ module:hook("admin/repl-requested-input", function (event)
|
|||
return true;
|
||||
end
|
||||
input_promise.resolve(event.stanza:get_text());
|
||||
return true;
|
||||
end);
|
||||
|
||||
function console:new_session(admin_session)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue