]> git.mxchange.org Git - friendica.git/commitdiff
API: Use NOTIF_DIRECT_THREAD_COMMENT for the API mentions as well
authorMichael <heluecht@pirati.ca>
Thu, 9 Jan 2020 17:58:22 +0000 (17:58 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 9 Jan 2020 17:58:22 +0000 (17:58 +0000)
include/api.php

index e19c89524140d17cd3b0681f50720bc344f9a312..8dd00bae8176a64f51845bd036133c362010447f 100644 (file)
@@ -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) {