Bugfix
This commit is contained in:
parent
ce94a70263
commit
377b266d7b
@ -51,7 +51,7 @@ trait CallHandler
|
||||
foreach ($message_ids as $message_id) {
|
||||
if (isset($this->outgoing_messages[$message_id]['body'])) {
|
||||
if ($datacenter) {
|
||||
$res = $this->API->datacenter->waitGetConnection($datacenter)->onResolve(function ($e, $r) use ($message_id) {
|
||||
$res = Tools::call($this->API->datacenter->waitGetConnection($datacenter))->onResolve(function ($e, $r) use ($message_id) {
|
||||
return $r->sendMessage($this->outgoing_messages[$message_id], false);
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user