mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-30 13:41:45 +00:00
hide chat options and editor if no secretKey
This commit is contained in:
@@ -27,7 +27,8 @@ export const ChatList = ({
|
||||
myName,
|
||||
selectedGroup,
|
||||
enableMentions,
|
||||
openQManager
|
||||
openQManager,
|
||||
hasSecretKey
|
||||
}) => {
|
||||
const parentRef = useRef();
|
||||
const [messages, setMessages] = useState(initialMessages);
|
||||
@@ -406,7 +407,7 @@ export const ChatList = ({
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
{enableMentions && (
|
||||
{enableMentions && hasSecretKey && (
|
||||
<ChatOptions
|
||||
openQManager={openQManager}
|
||||
messages={messages}
|
||||
|
Reference in New Issue
Block a user