Refactor
parent
cad814ae0f
commit
f2d14bfd1f
|
@ -34,7 +34,7 @@ namespace {
|
||||||
#
|
#
|
||||||
###############################################
|
###############################################
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve language settings from the selected language file
|
* Retrieve language settings from the selected language file
|
||||||
* Return false if arg is not found
|
* Return false if arg is not found
|
||||||
*
|
*
|
||||||
|
@ -678,7 +678,6 @@ namespace {
|
||||||
JAXLLogger::info('got on_auth_success cb');
|
JAXLLogger::info('got on_auth_success cb');
|
||||||
$client->send_chat_msg($receiver, $message);
|
$client->send_chat_msg($receiver, $message);
|
||||||
$client->send_end_stream();
|
$client->send_end_stream();
|
||||||
|
|
||||||
});
|
});
|
||||||
$client->add_cb('on_auth_failure', function ($reason) use ($client) {
|
$client->add_cb('on_auth_failure', function ($reason) use ($client) {
|
||||||
$client->send_end_stream();
|
$client->send_end_stream();
|
||||||
|
|
Loading…
Reference in New Issue