mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Show a gray shield when encrypted by deleted session (#6119)
This commit is contained in:
@@ -432,7 +432,7 @@ $left-gutter: 64px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile_e2eIcon_undecryptable, .mx_EventTile_e2eIcon_unverified {
|
.mx_EventTile_e2eIcon_warning {
|
||||||
&::after {
|
&::after {
|
||||||
mask-image: url('$(res)/img/e2e/warning.svg');
|
mask-image: url('$(res)/img/e2e/warning.svg');
|
||||||
background-color: $notice-primary-color;
|
background-color: $notice-primary-color;
|
||||||
@@ -440,23 +440,7 @@ $left-gutter: 64px;
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile_e2eIcon_unknown {
|
.mx_EventTile_e2eIcon_normal {
|
||||||
&::after {
|
|
||||||
mask-image: url('$(res)/img/e2e/warning.svg');
|
|
||||||
background-color: $notice-primary-color;
|
|
||||||
}
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_EventTile_e2eIcon_unencrypted {
|
|
||||||
&::after {
|
|
||||||
mask-image: url('$(res)/img/e2e/warning.svg');
|
|
||||||
background-color: $notice-primary-color;
|
|
||||||
}
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_EventTile_e2eIcon_unauthenticated {
|
|
||||||
&::after {
|
&::after {
|
||||||
mask-image: url('$(res)/img/e2e/normal.svg');
|
mask-image: url('$(res)/img/e2e/normal.svg');
|
||||||
background-color: $composer-e2e-icon-color;
|
background-color: $composer-e2e-icon-color;
|
||||||
|
|||||||
@@ -1405,25 +1405,25 @@ export function haveTileForEvent(e: MatrixEvent, showHiddenEvents?: boolean) {
|
|||||||
|
|
||||||
function E2ePadlockUndecryptable(props) {
|
function E2ePadlockUndecryptable(props) {
|
||||||
return (
|
return (
|
||||||
<E2ePadlock title={_t("This message cannot be decrypted")} icon="undecryptable" {...props} />
|
<E2ePadlock title={_t("This message cannot be decrypted")} icon="warning" {...props} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function E2ePadlockUnverified(props) {
|
function E2ePadlockUnverified(props) {
|
||||||
return (
|
return (
|
||||||
<E2ePadlock title={_t("Encrypted by an unverified session")} icon="unverified" {...props} />
|
<E2ePadlock title={_t("Encrypted by an unverified session")} icon="warning" {...props} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function E2ePadlockUnencrypted(props) {
|
function E2ePadlockUnencrypted(props) {
|
||||||
return (
|
return (
|
||||||
<E2ePadlock title={_t("Unencrypted")} icon="unencrypted" {...props} />
|
<E2ePadlock title={_t("Unencrypted")} icon="warning" {...props} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function E2ePadlockUnknown(props) {
|
function E2ePadlockUnknown(props) {
|
||||||
return (
|
return (
|
||||||
<E2ePadlock title={_t("Encrypted by a deleted session")} icon="unknown" {...props} />
|
<E2ePadlock title={_t("Encrypted by a deleted session")} icon="normal" {...props} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user