diff --git a/app/containers/MessageBox/ReplyPreview.js b/app/containers/MessageBox/ReplyPreview.js index e1fcbcca..1a77a254 100644 --- a/app/containers/MessageBox/ReplyPreview.js +++ b/app/containers/MessageBox/ReplyPreview.js @@ -43,7 +43,7 @@ const styles = StyleSheet.create({ }); const ReplyPreview = React.memo(({ - message, Message_TimeFormat, baseUrl, username, replying, getCustomEmoji, close, theme + message, Message_TimeFormat, baseUrl, username, replying, getCustomEmoji, close, theme, useRealName }) => { if (!replying) { return null; @@ -59,7 +59,7 @@ const ReplyPreview = React.memo(({ > - {message.u?.username} + {useRealName ? message.u?.name : message.u?.username} {time} ({ Message_TimeFormat: state.settings.Message_TimeFormat, - baseUrl: state.server.server + baseUrl: state.server.server, + useRealName: state.settings.UI_Use_Real_Name }); export default connect(mapStateToProps)(ReplyPreview);