|
|
|
@ -241,10 +241,12 @@ export class Message extends React.Component<Props, State> {
|
|
|
|
|
/>
|
|
|
|
|
)}
|
|
|
|
|
{isP2p ? (
|
|
|
|
|
<span className={classNames(
|
|
|
|
|
'module-message__metadata__p2p',
|
|
|
|
|
`module-message__metadata__p2p--${direction}`,
|
|
|
|
|
)}>
|
|
|
|
|
<span
|
|
|
|
|
className={classNames(
|
|
|
|
|
'module-message__metadata__p2p',
|
|
|
|
|
`module-message__metadata__p2p--${direction}`
|
|
|
|
|
)}
|
|
|
|
|
>
|
|
|
|
|
• P2P
|
|
|
|
|
</span>
|
|
|
|
|
) : null}
|
|
|
|
@ -955,7 +957,7 @@ export class Message extends React.Component<Props, State> {
|
|
|
|
|
`module-message__container--${direction}`,
|
|
|
|
|
direction === 'incoming'
|
|
|
|
|
? `module-message__container--incoming-${authorColor}`
|
|
|
|
|
: null,
|
|
|
|
|
: null
|
|
|
|
|
)}
|
|
|
|
|
style={{
|
|
|
|
|
width: isShowingImage ? width : undefined,
|
|
|
|
|