Clicking username in read-only allows sending message (#2489)
This commit is contained in:
parent
53f4288872
commit
e92f7afa82
1 changed files with 2 additions and 1 deletions
|
|
@ -263,7 +263,8 @@ export default class Post extends PureComponent {
|
|||
|
||||
const style = getStyleSheet(theme);
|
||||
const isReplyPost = this.isReplyPost();
|
||||
const onUsernamePress = Config.ExperimentalUsernamePressIsMention ? this.autofillUserMention : this.viewUserProfile;
|
||||
const onUsernamePress =
|
||||
Config.ExperimentalUsernamePressIsMention && !channelIsReadOnly ? this.autofillUserMention : this.viewUserProfile;
|
||||
const mergeMessage = consecutivePost && !hasComments;
|
||||
const highlightFlagged = isFlagged && !skipFlaggedHeader;
|
||||
const hightlightPinned = post.is_pinned && !skipPinnedHeader;
|
||||
|
|
|
|||
Loading…
Reference in a new issue