Remove a remote config flag

This commit is contained in:
Fedor Indutny 2024-06-20 14:39:40 -04:00 committed by GitHub
parent 8c555a9b28
commit 5d3de4ed5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 20 deletions

View file

@ -12,10 +12,7 @@ import { UserText } from '../UserText';
import { SharedGroupNames } from '../SharedGroupNames';
import { About } from './About';
import { I18n } from '../I18n';
import {
areNicknamesEnabled,
canHaveNicknameAndNote,
} from '../../util/nicknames';
import { canHaveNicknameAndNote } from '../../util/nicknames';
import { Tooltip, TooltipPlacement } from '../Tooltip';
function muted(parts: Array<string | JSX.Element>) {
@ -255,7 +252,7 @@ export function AboutContactModal({
</div>
)}
{areNicknamesEnabled() && conversation.note && (
{conversation.note && (
<div className="AboutContactModal__row">
<i className="AboutContactModal__row__icon AboutContactModal__row__icon--note" />
<button