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