summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/ostatus/handlers/unfollow_handler.ex')
-rw-r--r--lib/pleroma/web/ostatus/handlers/unfollow_handler.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex b/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex
index 6596ada3b..2062432e3 100644
--- a/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex
+++ b/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex
@@ -9,7 +9,7 @@ defmodule Pleroma.Web.OStatus.UnfollowHandler do
alias Pleroma.Web.XML
def handle(entry, doc) do
- with {:ok, actor} <- OStatus.find_make_or_update_user(doc),
+ with {:ok, actor} <- OStatus.find_make_or_update_actor(doc),
id when not is_nil(id) <- XML.string_from_xpath("/entry/id", entry),
followed_uri when not is_nil(followed_uri) <-
XML.string_from_xpath("/entry/activity:object/id", entry),