sloop around get_emoji/1 to check is_binary and have a fallthrough
[akkoma] / lib / pleroma / user.ex
index 6f8e39f74574e3a7f1b64ed341ceb68211a63cfc..fca490cb1843c6227d6e8013c1d5962a02929370 100644 (file)
@@ -472,7 +472,7 @@ defmodule Pleroma.User do
     # ensure that the actor who published the announced object appears only once
     to =
       if actor.nickname != nil do
-        (to ++ [object.data["actor"]])
+        to ++ [object.data["actor"]]
       else
         to
       end