diff --git a/src/components/views/messages/SenderProfile.js b/src/components/views/messages/SenderProfile.js index a8c52e06b1..0d47de4266 100644 --- a/src/components/views/messages/SenderProfile.js +++ b/src/components/views/messages/SenderProfile.js @@ -97,7 +97,7 @@ export default React.createClass({ render() { const EmojiText = sdk.getComponent('elements.EmojiText'); const {mxEvent} = this.props; - const colorNumber = hashCode(mxEvent.getSender()) % 8; + const colorNumber = (hashCode(mxEvent.getSender()) % 8) + 1; const name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender(); const {msgtype} = mxEvent.getContent();