Includes deleted remote cluster infos to correctly show shared user information (#35192)

* Includes deleted remote cluster infos to correctly show shared user information

* Addressing review comments

---------

Co-authored-by: Miguel de la Cruz <miguel@ctrlz.es>
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Miguel de la Cruz
2026-03-04 14:46:10 +01:00
committed by GitHub
co-authored by Miguel de la Cruz Mattermost Build
parent 014fee5950
commit 062abe90bd
17 changed files with 82 additions and 39 deletions
+10 -4
View File
@@ -135,6 +135,12 @@
required: true
schema:
type: string
- name: include_deleted
in: query
description: Include deleted remote clusters
schema:
type: boolean
default: false
responses:
"200":
description: Remote cluster info retrieval successful
@@ -234,9 +240,9 @@
summary: Get remote clusters for a shared channel
description: |
Gets the remote clusters information for a shared channel.
__Minimum server version__: 10.11
##### Permissions
Must be authenticated and have the `read_channel` permission for the channel.
operationId: GetSharedChannelRemotes
@@ -273,9 +279,9 @@
description: |
Checks if a user can send direct messages to another user, considering shared channel restrictions.
This is specifically for shared channels where DMs require direct connections between clusters.
__Minimum server version__: 10.11
##### Permissions
Must be authenticated and have permission to view the user.
operationId: CanUserDirectMessage