Skip to content

Commit

Permalink
Force Poll
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Oct 22, 2024
1 parent d25cd18 commit 269890c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function ( &$feed ) {

$friend_user = $feed->get_friend_user();
$was_polled = false;
if ( $friend_user && $feed->can_be_polled_now() ) {
if ( $friend_user ) {
$feed->set_polling_now();
$new_posts = $this->friends->feed->retrieve_feed( $feed );
$feed->was_polled();
Expand Down

0 comments on commit 269890c

Please sign in to comment.