1
0
Fork 0

Make Notification bubble work again

This commit is contained in:
Philipp Holzer 2020-01-25 17:25:11 +01:00
commit 5a9ec841af
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ use Friendica\Util\XML;
* "birthdays-today": 0,
* "groups": [ ],
* "forums": [ ],
* "notify": 0,
* "notification": 0,
* "notifications": [ ],
* "sysmsgs": {
* "notice": [ ],
@ -351,7 +351,7 @@ function ping_init(App $a)
if ($format == 'json') {
$data['groups'] = $groups_unseen;
$data['forums'] = $forums_unseen;
$data['notify'] = $sysnotify_count + $intro_count + $register_count;
$data['notification'] = $sysnotify_count + $intro_count + $register_count;
$data['notifications'] = $notifications;
$data['sysmsgs'] = [
'notice' => $sysmsgs,