disable editing of open group name

pull/1714/head
Audric Ackermann 4 years ago
parent f1ee7589a0
commit 54f06cca1b
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -78,7 +78,7 @@ export class UpdateGroupNameDialog extends React.Component<Props, State> {
);
const isAdmin = this.convo.isPublic()
? this.convo.isAdmin(window.storage.get('primaryDevicePubKey'))
? false // disable editing of opengroup rooms as we don't handle them for now
: true;
return (

@ -10,7 +10,6 @@ import {
updateConfirmModal,
} from '../../../state/ducks/modalDialog';
import { ConversationController } from '../../../session/conversations';
import { UserUtils } from '../../../session/utils';
import {
blockConvoById,
clearNickNameByConvoId,

Loading…
Cancel
Save