There is now a user switch to change between condensed and detailled notifications
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
require_once('include/datetime.php');
|
||||
require_once('include/bbcode.php');
|
||||
@@ -477,7 +478,11 @@ function ping_get_notifications($uid)
|
||||
|
||||
if ($notification["visible"] && !$notification["spam"] &&
|
||||
!$notification["deleted"] && !is_array($result[$notification["parent"]])) {
|
||||
$result[$notification["parent"]] = $notification;
|
||||
if (PConfig::get(local_user(), 'system', 'detailled_notif')) {
|
||||
$result[$notification["id"]] = $notification;
|
||||
} else {
|
||||
$result[$notification["parent"]] = $notification;
|
||||
}
|
||||
}
|
||||
}
|
||||
} while ((count($result) < 50) && !$quit);
|
||||
|
||||
Reference in New Issue
Block a user