Fix Java desktop notifications, thanks to Stefan Werfling

This commit is contained in:
Hadi Nategh 2017-11-30 12:19:21 +01:00
parent 386b71fd63
commit b70be14b92

View File

@ -76,7 +76,7 @@ class notifications_jdesk_ajax {
*/ */
public function __construct() public function __construct()
{ {
$this->response = new Api\Json\Response(); $this->response = Api\Json\Response::get();
$this->recipient = (object)$GLOBALS['egw']->accounts->read($GLOBALS['egw_info']['user']['account_id']); $this->recipient = (object)$GLOBALS['egw']->accounts->read($GLOBALS['egw_info']['user']['account_id']);