Fix UI bug with self-add by username in groups

This commit is contained in:
Fedor Indutny 2023-11-08 00:45:33 +01:00 committed by GitHub
parent 41e89554fe
commit ca2b3bacce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 1 deletions

View file

@ -16,6 +16,7 @@ import { getUsernamesEnabled } from '../selectors/items';
import {
getCandidateContactsForNewGroup,
getConversationByIdSelector,
getMe,
} from '../selectors/conversations';
import { getPreferredBadgeSelector } from '../selectors/badges';
@ -54,6 +55,7 @@ const mapStateToProps = (
getPreferredBadge: getPreferredBadgeSelector(state),
i18n: getIntl(state),
theme: getTheme(state),
ourUsername: getMe(state).username,
selectedContacts,
lookupConversationWithoutServiceId,
isUsernamesEnabled: getUsernamesEnabled(state),