2020-07-06 08:54:22 +00:00
|
|
|
package common
|
|
|
|
|
|
|
|
type FeatureFlags struct {
|
|
|
|
// Datasync indicates whether direct messages should be sent exclusively
|
|
|
|
// using datasync, breaking change for non-v1 clients. Public messages
|
|
|
|
// are not impacted
|
|
|
|
Datasync bool
|
2020-07-27 15:20:16 +00:00
|
|
|
|
|
|
|
// PushNotification indicates whether we should be enabling the push notification feature
|
|
|
|
PushNotifications bool
|
2022-01-12 16:02:01 +00:00
|
|
|
|
|
|
|
// MailserverCycle indicates whether we should enable or not the mailserver cycle
|
|
|
|
MailserverCycle bool
|
2023-12-05 10:08:26 +00:00
|
|
|
|
|
|
|
// DisableCheckingForBackup disables backup loop
|
|
|
|
DisableCheckingForBackup bool
|
|
|
|
|
|
|
|
// DisableAutoMessageLoop disables auto message loop
|
|
|
|
DisableAutoMessageLoop bool
|
2023-12-15 16:16:18 +00:00
|
|
|
|
|
|
|
// ResendRawMessagesDisabled indicates whether we should be disabling sending raw messages
|
|
|
|
ResendRawMessagesDisabled bool
|
|
|
|
|
|
|
|
// StoreNodesDisabled indicates whether we should fetch messages from store nodes
|
|
|
|
StoreNodesDisabled bool
|
|
|
|
|
|
|
|
// Peersyncing indicates whether we should advertise and sync messages with other peers
|
|
|
|
Peersyncing bool
|
2024-06-12 20:13:16 +00:00
|
|
|
|
|
|
|
// EnableCelerBridge indicates whether we should enable the Celer bridge in the Router
|
|
|
|
EnableCelerBridge bool
|
2020-07-06 08:54:22 +00:00
|
|
|
}
|