diff options
author | lain <lain@soykaf.club> | 2020-07-10 10:37:42 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-07-10 10:37:42 +0000 |
commit | fba1ee7d7b04730c33cadb036f59e8d7c90a93b0 (patch) | |
tree | 32b20b5a0ec3f5c8d44f1157087868adfaa549b0 /docs/API/differences_in_mastoapi_responses.md | |
parent | 8aa7143f464562ca2a0572087c526f26d1a3b7ef (diff) | |
parent | b39eb6ecc573c310801fe49f35d92246ddcb6226 (diff) | |
download | pleroma-fba1ee7d7b04730c33cadb036f59e8d7c90a93b0.tar.gz pleroma-fba1ee7d7b04730c33cadb036f59e8d7c90a93b0.zip |
Merge branch 'chat-federation-information' into 'develop'
Add an `accepts_chat_messages` to user, expose in api and federation
See merge request pleroma/pleroma!2716
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index 03c7f4608..65f9f1aef 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -71,6 +71,7 @@ Has these additional fields under the `pleroma` object: - `unread_conversation_count`: The count of unread conversations. Only returned to the account owner. - `unread_notifications_count`: The count of unread notifications. Only returned to the account owner. - `notification_settings`: object, can be absent. See `/api/pleroma/notification_settings` for the parameters/keys returned. +- `accepts_chat_messages`: boolean, but can be null if we don't have that information about a user - `favicon`: nullable URL string, Favicon image of the user's instance ### Source @@ -186,6 +187,7 @@ Additional parameters can be added to the JSON body/Form data: - `pleroma_background_image` - sets the background image of the user. Can be set to "" (an empty string) to reset. - `discoverable` - if true, discovery of this account in search results and other services is allowed. - `actor_type` - the type of this account. +- `accepts_chat_messages` - if false, this account will reject all chat messages. All images (avatar, banner and background) can be reset to the default by sending an empty string ("") instead of a file. |