]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Conversation/Network.php
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
[friendica.git] / src / Module / Conversation / Network.php
index ca8e8c89c2338f1bf39f2ed22c2d4405c6725752..f3a60b48f8417432c1a26250b13054a9288f981e 100644 (file)
@@ -17,6 +17,7 @@ use Friendica\DI;
 use Friendica\Model\Contact;
 use Friendica\Model\Group;
 use Friendica\Model\Item;
+use Friendica\Model\Post;
 use Friendica\Model\Profile;
 use Friendica\Model\User;
 use Friendica\Module\Contact as ModuleContact;
@@ -215,7 +216,7 @@ class Network extends BaseModule
                        return;
                }
 
-               $unseen = Item::exists($condition);
+               $unseen = Post::exists($condition);
 
                if ($unseen) {
                        /// @todo handle huge "unseen" updates in the background to avoid timeout errors