Alert internal users if first message on websocket is repeated

This commit is contained in:
Scott Nonnenberg 2024-09-21 04:27:39 +10:00 committed by GitHub
parent d0b8a2991f
commit cd2bb537fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 144 additions and 0 deletions

View file

@ -122,6 +122,8 @@ function getToast(toastType: ToastType): AnyToast {
return { toastType: ToastType.MaxAttachments };
case ToastType.MessageBodyTooLong:
return { toastType: ToastType.MessageBodyTooLong };
case ToastType.MessageLoop:
return { toastType: ToastType.MessageLoop };
case ToastType.OriginalMessageNotFound:
return { toastType: ToastType.OriginalMessageNotFound };
case ToastType.PinnedConversationsFull: