Remove /display/{nick}/{id} URL structure publishing
- Remove support for defunct Friendica F-Droid app
This commit is contained in:
parent
5b1fe458d9
commit
e6bf97777f
7 changed files with 13 additions and 126 deletions
|
@ -313,14 +313,7 @@ function ping_init(App $a)
|
|||
usort($notifs, $sort_function);
|
||||
|
||||
if (DBA::isResult($notifs)) {
|
||||
// Are the nofications called from the regular process or via the friendica app?
|
||||
$regularnotifications = (!empty($_GET['uid']) && !empty($_GET['_']));
|
||||
|
||||
foreach ($notifs as $notif) {
|
||||
if ($a->isFriendicaApp() || !$regularnotifications) {
|
||||
$notif['message'] = str_replace("{0}", $notif['name'], $notif['message']);
|
||||
}
|
||||
|
||||
$contact = Contact::getDetailsByURL($notif['url']);
|
||||
if (isset($contact['micro'])) {
|
||||
$notif['photo'] = ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue