mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
feat(app): drop the compact attachments media size preference (#1872)
This commit is contained in:
@@ -93,19 +93,14 @@ export const MessageFlags = {
|
||||
SUPPRESS_EMBEDS: 1 << 2,
|
||||
SUPPRESS_NOTIFICATIONS: 1 << 12,
|
||||
VOICE_MESSAGE: 1 << 13,
|
||||
COMPACT_ATTACHMENTS: 1 << 17,
|
||||
} as const;
|
||||
export const MessageFlagsDescriptions: Record<keyof typeof MessageFlags, string> = {
|
||||
SUPPRESS_EMBEDS: 'Do not include embeds when serialising this message',
|
||||
SUPPRESS_NOTIFICATIONS: 'This message will not trigger push or desktop notifications',
|
||||
VOICE_MESSAGE: 'This message is a voice message',
|
||||
COMPACT_ATTACHMENTS: 'Display attachments in a compact format',
|
||||
};
|
||||
export const SENDABLE_MESSAGE_FLAGS =
|
||||
MessageFlags.SUPPRESS_EMBEDS |
|
||||
MessageFlags.SUPPRESS_NOTIFICATIONS |
|
||||
MessageFlags.COMPACT_ATTACHMENTS |
|
||||
MessageFlags.VOICE_MESSAGE;
|
||||
MessageFlags.SUPPRESS_EMBEDS | MessageFlags.SUPPRESS_NOTIFICATIONS | MessageFlags.VOICE_MESSAGE;
|
||||
export const MessageAttachmentFlags = {
|
||||
IS_SPOILER: 1 << 3,
|
||||
CONTAINS_EXPLICIT_MEDIA: 1 << 4,
|
||||
|
||||
Reference in New Issue
Block a user