ConversationView: Move attachments processing into redux

This commit is contained in:
Scott Nonnenberg
2022-12-07 17:26:59 -08:00
committed by GitHub
parent ff6750e4fd
commit 452e0b7b31
25 changed files with 544 additions and 763 deletions

View File

@@ -6,12 +6,16 @@ import type { ReplacementValuesType } from '../../types/Util';
export enum ToastType {
AddingUserToGroup = 'AddingUserToGroup',
CannotMixMultiAndNonMultiAttachments = 'CannotMixMultiAndNonMultiAttachments',
CannotStartGroupCall = 'CannotStartGroupCall',
CopiedUsername = 'CopiedUsername',
CopiedUsernameLink = 'CopiedUsernameLink',
DangerousFileType = 'DangerousFileType',
DeleteForEveryoneFailed = 'DeleteForEveryoneFailed',
Error = 'Error',
FailedToDeleteUsername = 'FailedToDeleteUsername',
FileSize = 'FileSize',
MaxAttachments = 'MaxAttachments',
MessageBodyTooLong = 'MessageBodyTooLong',
PinnedConversationsFull = 'PinnedConversationsFull',
ReportedSpamAndBlocked = 'ReportedSpamAndBlocked',
@@ -21,6 +25,8 @@ export enum ToastType {
StoryVideoError = 'StoryVideoError',
StoryVideoTooLong = 'StoryVideoTooLong',
StoryVideoUnsupported = 'StoryVideoUnsupported',
UnableToLoadAttachment = 'UnableToLoadAttachment',
UnsupportedMultiAttachment = 'UnsupportedMultiAttachment',
UserAddedToGroup = 'UserAddedToGroup',
}