Commit dcdf7b66 authored by Ariadne Conill's avatar Ariadne Conill

twitter api: user view: show default message scope if known

parent 4f6de34f
......@@ -52,7 +52,8 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
"cover_photo" => User.banner_url(user) |> MediaProxy.url(),
"background_image" => image_url(["background"]) |> MediaProxy.url(),
"is_local" => user.local,
"locked" => !!["locked"]
"locked" => !!["locked"],
"default_scope" =>["default_scope"] || "public"
if assigns[:token] do
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment