temporarily add a default branch to handle unknown shield codes
This commit is contained in:
parent
0e38df84c8
commit
a074d8b30c
1 changed files with 3 additions and 0 deletions
|
@ -757,6 +757,9 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
|
||||||
case EventShieldReason.MISMATCHED_SENDER_KEY:
|
case EventShieldReason.MISMATCHED_SENDER_KEY:
|
||||||
shieldReasonMessage = _t("encryption|event_shield_reason_mismatched_sender_key");
|
shieldReasonMessage = _t("encryption|event_shield_reason_mismatched_sender_key");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
shieldReasonMessage = _t("error|unknown");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.state.shieldColour === EventShieldColour.GREY) {
|
if (this.state.shieldColour === EventShieldColour.GREY) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue