diff --git a/app/containers/Avatar/AvatarWithEdit.tsx b/app/containers/Avatar/AvatarWithEdit.tsx
index d2abe33f4..690311804 100644
--- a/app/containers/Avatar/AvatarWithEdit.tsx
+++ b/app/containers/Avatar/AvatarWithEdit.tsx
@@ -7,6 +7,8 @@ import { IAvatar } from './interfaces';
import I18n from '../../i18n';
import { useTheme } from '../../theme';
import { BUTTON_HIT_SLOP } from '../message/utils';
+import { useAppSelector } from '../../lib/hooks';
+import { compareServerVersion } from '../../lib/methods/helpers';
const styles = StyleSheet.create({
editAvatarButton: {
@@ -42,6 +44,10 @@ const AvatarWithEdit = ({
}: IAvatarContainer): React.ReactElement => {
const { colors } = useTheme();
+ const { serverVersion } = useAppSelector(state => ({
+ serverVersion: state.server.version
+ }));
+
return (
<>
- {handleEdit ? (
+ {handleEdit && serverVersion && compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '3.6.0') ? (