Check profiles before starting a DM (#10472)
This commit is contained in:
parent
78e03e0617
commit
df89d2ce28
7 changed files with 438 additions and 72 deletions
|
@ -38,7 +38,12 @@ interface IError {
|
|||
errcode: string;
|
||||
}
|
||||
|
||||
const UNKNOWN_PROFILE_ERRORS = ["M_NOT_FOUND", "M_USER_NOT_FOUND", "M_PROFILE_UNDISCLOSED", "M_PROFILE_NOT_FOUND"];
|
||||
export const UNKNOWN_PROFILE_ERRORS = [
|
||||
"M_NOT_FOUND",
|
||||
"M_USER_NOT_FOUND",
|
||||
"M_PROFILE_UNDISCLOSED",
|
||||
"M_PROFILE_NOT_FOUND",
|
||||
];
|
||||
|
||||
export type CompletionStates = Record<string, InviteState>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue