From ad11579eaa6abae59a6dd0e3ca26d7a9b00be52f Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Jan 2020 17:58:22 +0000 Subject: [PATCH] API: Use NOTIF_DIRECT_THREAD_COMMENT for the API mentions as well --- include/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/api.php b/include/api.php index e19c89524..8dd00bae8 100644 --- a/include/api.php +++ b/include/api.php @@ -2166,7 +2166,8 @@ function api_statuses_mentions($type) AND `user-item`.`iid` > ?"; $condition = [GRAVITY_PARENT, GRAVITY_COMMENT, api_user(), UserItem::NOTIF_EXPLICIT_TAGGED | UserItem::NOTIF_IMPLICIT_TAGGED | - UserItem::NOTIF_THREAD_COMMENT | UserItem::NOTIF_DIRECT_COMMENT, + UserItem::NOTIF_THREAD_COMMENT | UserItem::NOTIF_DIRECT_COMMENT | + UserItem::NOTIF_DIRECT_THREAD_COMMENT, $since_id]; if ($max_id > 0) {