lib/botinsta/modes.rb in botinsta-0.1.1 vs lib/botinsta/modes.rb in botinsta-0.1.2
- old
+ new
@@ -36,9 +36,10 @@
# Here is the code for following users.
if follow_count != @follows_per_tag
if get_user_page_data(@media.owner) && follow_if_not_in_db(@user)
follow_count += 1
+ refresh_db_related if follow_count == 1
else
print_error_message(action: :follow, data: @user.username)
end
end
\ No newline at end of file