MM-62751: [Shared Channels] Allow remote users to be discoverable in the create DM/GM modal (#30918)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
476b46d1d7
Коммит
c46ed6c681
@@ -3459,6 +3459,8 @@ type ConnectedWorkspacesSettings struct {
|
||||
EnableSharedChannels *bool
|
||||
EnableRemoteClusterService *bool
|
||||
DisableSharedChannelsStatusSync *bool
|
||||
SyncUsersOnConnectionOpen *bool
|
||||
GlobalUserSyncBatchSize *int
|
||||
MaxPostsPerSync *int
|
||||
}
|
||||
|
||||
@@ -3483,6 +3485,14 @@ func (c *ConnectedWorkspacesSettings) SetDefaults(isUpdate bool, e ExperimentalS
|
||||
c.DisableSharedChannelsStatusSync = NewPointer(false)
|
||||
}
|
||||
|
||||
if c.SyncUsersOnConnectionOpen == nil {
|
||||
c.SyncUsersOnConnectionOpen = NewPointer(false)
|
||||
}
|
||||
|
||||
if c.GlobalUserSyncBatchSize == nil {
|
||||
c.GlobalUserSyncBatchSize = NewPointer(25) // Default to MaxUsersPerSync
|
||||
}
|
||||
|
||||
if c.MaxPostsPerSync == nil {
|
||||
c.MaxPostsPerSync = NewPointer(ConnectedWorkspacesSettingsDefaultMaxPostsPerSync)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user