InstanceView: Add pleroma chat messages to nodeinfo
This commit is contained in:
parent
3cff4e24cd
commit
06cad239e5
|
@ -68,7 +68,8 @@ def features do
|
||||||
if Config.get([:instance, :safe_dm_mentions]) do
|
if Config.get([:instance, :safe_dm_mentions]) do
|
||||||
"safe_dm_mentions"
|
"safe_dm_mentions"
|
||||||
end,
|
end,
|
||||||
"pleroma_emoji_reactions"
|
"pleroma_emoji_reactions",
|
||||||
|
"pleroma_chat_messages"
|
||||||
]
|
]
|
||||||
|> Enum.filter(& &1)
|
|> Enum.filter(& &1)
|
||||||
end
|
end
|
||||||
|
|
|
@ -145,7 +145,8 @@ test "it shows default features flags", %{conn: conn} do
|
||||||
"shareable_emoji_packs",
|
"shareable_emoji_packs",
|
||||||
"multifetch",
|
"multifetch",
|
||||||
"pleroma_emoji_reactions",
|
"pleroma_emoji_reactions",
|
||||||
"pleroma:api/v1/notifications:include_types_filter"
|
"pleroma:api/v1/notifications:include_types_filter",
|
||||||
|
"pleroma_chat_messages"
|
||||||
]
|
]
|
||||||
|
|
||||||
assert MapSet.subset?(
|
assert MapSet.subset?(
|
||||||
|
|
Loading…
Reference in New Issue