Merge branch 'feld-warnings' into 'develop'
[akkoma] / lib / pleroma / web / common_api / common_api.ex
index 21225c3b7d8a95b908b2820a795433dec25fdf0a..14a68929dcaf036466422abf00eeb9342f2f3f7a 100644 (file)
@@ -1,5 +1,5 @@
 defmodule Pleroma.Web.CommonAPI do
-  alias Pleroma.{Repo, Activity, Object, User}
+  alias Pleroma.{Repo, Activity, Object}
   alias Pleroma.Web.ActivityPub.ActivityPub
   alias Pleroma.Formatter
 
@@ -103,7 +103,6 @@ defmodule Pleroma.Web.CommonAPI do
           additional: %{"cc" => cc}
         })
 
-      User.increase_note_count(user)
       res
     end
   end