Remove ExperimentalUsernamePressIsMention build time feature (#3993)
This commit is contained in:
parent
fbd7fedfbc
commit
50fc7d6896
2 changed files with 1 additions and 6 deletions
|
|
@ -28,8 +28,6 @@ import {t} from 'app/utils/i18n';
|
|||
import {paddingHorizontal as padding} from 'app/components/safe_area_view/iphone_x_spacing';
|
||||
import {goToScreen, showModalOverCurrentContext} from 'app/actions/navigation';
|
||||
|
||||
import Config from 'assets/config';
|
||||
|
||||
export default class Post extends PureComponent {
|
||||
static propTypes = {
|
||||
actions: PropTypes.shape({
|
||||
|
|
@ -262,8 +260,6 @@ export default class Post extends PureComponent {
|
|||
|
||||
const style = getStyleSheet(theme);
|
||||
const isReplyPost = this.isReplyPost();
|
||||
const onUsernamePress =
|
||||
Config.ExperimentalUsernamePressIsMention && !channelIsReadOnly ? this.autofillUserMention : this.viewUserProfile;
|
||||
const mergeMessage = consecutivePost && !hasComments && !isBot;
|
||||
const highlightFlagged = isFlagged && !skipFlaggedHeader;
|
||||
const hightlightPinned = post.is_pinned && !skipPinnedHeader;
|
||||
|
|
@ -300,7 +296,7 @@ export default class Post extends PureComponent {
|
|||
shouldRenderReplyButton={shouldRenderReplyButton}
|
||||
showFullDate={showFullDate}
|
||||
onPress={this.handleReply}
|
||||
onUsernamePress={onUsernamePress}
|
||||
onUsernamePress={this.viewUserProfile}
|
||||
renderReplies={renderReplies}
|
||||
theme={theme}
|
||||
previousPostExists={previousPostExists}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
"PlatformNoticeURL": "https://about.mattermost.com/platform-notice-txt/",
|
||||
"MobileNoticeURL": "https://about.mattermost.com/mobile-notice-txt/",
|
||||
"SegmentApiKey": "",
|
||||
"ExperimentalUsernamePressIsMention": false,
|
||||
|
||||
"HideEmailLoginExperimental": false,
|
||||
"HideGitLabLoginExperimental": false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue