Alex Gleason 2022-12-18 12:58:19 -06:00
rodzic f955691d01
commit 26cb4b1029
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -526,11 +526,11 @@ const Header: React.FC<IHeader> = ({ account }) => {
};
const renderMessageButton = () => {
if (features.chatsWithFollowers) { // Truth Social
if (!ownAccount || !account || account.id === ownAccount?.id) {
return null;
}
if (!ownAccount || !account || account.id === ownAccount?.id) {
return null;
}
if (features.chatsWithFollowers) { // Truth Social
const canChat = account.relationship?.followed_by;
if (!canChat) {
return null;