mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 16:45:17 +00:00
Automatically update last activity time of a call
This commit is contained in:
@ -86,6 +86,9 @@ class CallsController {
|
||||
if(!$call->isValid())
|
||||
Rest_fatal_error(500, "Could not get information about the call!");
|
||||
|
||||
//Update last activity of the call
|
||||
components()->calls->updateLastActivity($call_id);
|
||||
|
||||
return self::CallInformationToAPI($call);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user