Twitter API: Add a summary_html field.
The intention here is to allow proper subject copying when it contains emoji, obviously this will require minor frontend changes, though.
This commit is contained in:
parent
b0e8e521fb
commit
52493467ac
4 changed files with 16 additions and 4 deletions
|
|
@ -163,7 +163,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
|
|||
"possibly_sensitive" => true,
|
||||
"uri" => activity.data["object"]["id"],
|
||||
"visibility" => "direct",
|
||||
"summary" => "2hu"
|
||||
"summary" => "2hu",
|
||||
"summary_html" => "2hu"
|
||||
}
|
||||
|
||||
assert ActivityRepresenter.to_map(activity, %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue