1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-06 03:50:15 +02:00

Implement reload in mqtt_bridge

This commit is contained in:
Paweł Chmielowski 2023-01-16 11:22:17 +01:00
parent f2cbe7f3c2
commit 89918865b0
2 changed files with 35 additions and 11 deletions

View file

@ -123,6 +123,8 @@ init([_Proc, Proto, Host, Port, Path, Publish, Subscribe, Authentication, Replic
{stop, {error, <<"Certificate can be only used for encrypted connections">> }}
end.
handle_call(stop, _From, State) ->
{stop, normal, ok, State};
handle_call(Request, From, State) ->
?WARNING_MSG("Unexpected call from ~p: ~p", [From, Request]),
{noreply, State}.