Prevent send and show toast for invalid conversations

This commit is contained in:
Scott Nonnenberg 2020-11-16 13:34:41 -08:00 committed by GitHub
parent 34be0744d2
commit 3ee830ae63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 83 additions and 45 deletions

View file

@ -163,6 +163,8 @@ type UpdatesResultType = {
// Constants
export const MASTER_KEY_LENGTH = 32;
export const ID_V1_LENGTH = 16;
export const ID_LENGTH = 32;
const TEMPORAL_AUTH_REJECTED_CODE = 401;
const GROUP_ACCESS_DENIED_CODE = 403;
const SUPPORTED_CHANGE_EPOCH = 0;