feat: add chat color scheming

This commit is contained in:
Bettenbuk Zoltan
2019-10-15 16:08:23 +02:00
committed by Zoltan Bettenbuk
parent 8be02f9ca1
commit a35099f949
15 changed files with 302 additions and 142 deletions

View File

@@ -7,6 +7,8 @@ import { toArray } from 'react-emoji-render';
import { translate } from '../../../base/i18n';
import { Linkify } from '../../../base/react';
import { MESSAGE_TYPE_LOCAL } from '../../constants';
import AbstractChatMessage, {
type Props
} from '../AbstractChatMessage';
@@ -47,7 +49,7 @@ class ChatMessage extends AbstractChatMessage<Props> {
</div>
{ message.privateMessage && this._renderPrivateNotice() }
</div>
{ message.privateMessage && message.messageType !== 'local'
{ message.privateMessage && message.messageType !== MESSAGE_TYPE_LOCAL
&& <PrivateMessageButton
participantID = { message.id }
reply = { true }