allow sending messages even if our app is expired

pull/1741/head
Audric Ackermann 4 years ago
parent bab0a94e0d
commit 10702088e2
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -802,12 +802,6 @@ export class SessionCompositionBox extends React.Component<Props, State> {
const { isBlocked, isPrivate, left, isKickedFromGroup } = this.props;
// deny sending of message if our app version is expired
if (window.extension.expiredStatus() === true) {
ToastUtils.pushToastError('expiredWarning', window.i18n('expiredWarning'));
return;
}
if (isBlocked && isPrivate) {
ToastUtils.pushUnblockToSend();
return;

Loading…
Cancel
Save