diff --git a/native/chat/multimedia-message.react.js b/native/chat/multimedia-message.react.js --- a/native/chat/multimedia-message.react.js +++ b/native/chat/multimedia-message.react.js @@ -81,7 +81,7 @@ }; visibleEntryIDs() { - const result = ['report']; + const result = []; if (this.props.item.threadCreatedFromMessage) { result.push('open_sidebar'); @@ -89,6 +89,10 @@ result.push('create_sidebar'); } + if (!this.props.item.messageInfo.creator.isViewer) { + result.push('report'); + } + return result; } diff --git a/native/chat/text-message.react.js b/native/chat/text-message.react.js --- a/native/chat/text-message.react.js +++ b/native/chat/text-message.react.js @@ -113,7 +113,7 @@ } visibleEntryIDs() { - const result = ['copy', 'report']; + const result = ['copy']; if (this.canReply()) { result.push('reply'); @@ -125,6 +125,10 @@ result.push('create_sidebar'); } + if (!this.props.item.messageInfo.creator.isViewer) { + result.push('report'); + } + return result; }