only provide notify id if otype == item
This commit is contained in:
parent
727b49c8ab
commit
744960d36d
@ -280,7 +280,7 @@ class Ping extends \Zotlabs\Web\Controller {
|
|||||||
'when' => relative_date($tt['created']),
|
'when' => relative_date($tt['created']),
|
||||||
'hclass' => (($tt['seen']) ? 'notify-seen' : 'notify-unseen'),
|
'hclass' => (($tt['seen']) ? 'notify-seen' : 'notify-unseen'),
|
||||||
'b64mid' => $b64mid,
|
'b64mid' => $b64mid,
|
||||||
'notify_id' => $tt['id'],
|
'notify_id' => (($tt['otype'] == 'item') ? $tt['id'] : ''),
|
||||||
'message' => $message
|
'message' => $message
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user