2021-12-19 00:15:05 +00:00
|
|
|
package constants
|
|
|
|
|
2023-07-25 18:12:39 +00:00
|
|
|
const GroupsExperiment = "tapir-groups-experiment"
|
|
|
|
|
2021-12-19 00:34:07 +00:00
|
|
|
// FileSharingExperiment Allows file sharing
|
2021-12-19 00:15:05 +00:00
|
|
|
const FileSharingExperiment = "filesharing"
|
|
|
|
|
2021-12-19 00:34:07 +00:00
|
|
|
// ImagePreviewsExperiment Causes images (up to ImagePreviewMaxSizeInBytes, from accepted contacts) to auto-dl and preview
|
2021-12-19 00:15:05 +00:00
|
|
|
// requires FileSharingExperiment to be enabled
|
|
|
|
const ImagePreviewsExperiment = "filesharing-images"
|
|
|
|
|
2021-12-19 00:34:07 +00:00
|
|
|
// ImagePreviewMaxSizeInBytes Files up to this size will be autodownloaded using ImagePreviewsExperiment
|
2021-12-19 00:15:05 +00:00
|
|
|
const ImagePreviewMaxSizeInBytes = 20971520
|
|
|
|
|
2023-01-25 20:32:26 +00:00
|
|
|
const MessageFormattingExperiment = "message-formatting"
|
|
|
|
|
2021-12-19 00:34:07 +00:00
|
|
|
// AutoDLFileExts Files with these extensions will be autodownloaded using ImagePreviewsExperiment
|
|
|
|
var AutoDLFileExts = [...]string{".jpg", ".jpeg", ".png", ".gif", ".webp", ".bmp"}
|
2023-04-03 19:44:28 +00:00
|
|
|
|
|
|
|
// BlodeuweddExperiment enables the Blodeuwedd Assistant
|
|
|
|
const BlodeuweddExperiment = "blodeuwedd"
|