Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #49 from uber-uchat/staging
Browse files Browse the repository at this point in the history
Latest bug fixes from 1.13 testing
  • Loading branch information
dseawel authored Jan 18, 2019
2 parents 8bba7ba + e8af102 commit 840e85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/error_text/error_text.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default class ErrorText extends PureComponent {

const style = getStyleSheet(theme);

if (error.hasOwnProperty('intl')) {
const {intl} = error;
const {intl} = error;
if (intl) {
return (
<FormattedText
id={intl.id}
Expand Down
2 changes: 1 addition & 1 deletion app/components/post/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export default class Post extends PureComponent {
const selected = this.state && this.state.selected ? style.selected : null;
const highlighted = highlight ? style.highlight : null;
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;

let postHeader;
Expand Down

0 comments on commit 840e85f

Please sign in to comment.