mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
disable editing of open group name
This commit is contained in:
parent
f1ee7589a0
commit
54f06cca1b
2 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue