mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
[CORL-416] Disable Live Updates (#2391)
* feat: initial implementation * fix: docs
This commit is contained in:
@@ -643,3 +643,11 @@ export class InviteRequiresEmailAddresses extends CoralError {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export class LiveUpdatesDisabled extends CoralError {
|
||||
constructor() {
|
||||
super({
|
||||
code: ERROR_CODES.LIVE_UPDATES_DISABLED,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,4 +48,5 @@ export const ERROR_TRANSLATIONS: Record<ERROR_CODES, string> = {
|
||||
JWT_REVOKED: "error-jwtRevoked",
|
||||
INVITE_TOKEN_EXPIRED: "error-inviteTokenExpired",
|
||||
INVITE_REQUIRES_EMAIL_ADDRESSES: "error-inviteRequiresEmailAddresses",
|
||||
LIVE_UPDATES_DISABLED: "error-liveUpdatesDisabled",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user