Merge remote-tracking branch 'origin' into follower-hiding
[akkoma] / lib / pleroma / web / websub / websub.ex
index ed1a99d8d4d33c878a5af655794ab6b879b4ad44..0761b54756b8e09e074da23899fff8ecde015297 100644 (file)
@@ -173,7 +173,7 @@ defmodule Pleroma.Web.Websub do
 
   def gather_feed_data(topic, getter \\ &@httpoison.get/1) do
     with {:ok, response} <- getter.(topic),
-         status_code when status_code in 200..299 <- response.status,
+         status when status in 200..299 <- response.status,
          body <- response.body,
          doc <- XML.parse_document(body),
          uri when not is_nil(uri) <- XML.string_from_xpath("/feed/author[1]/uri", doc),