reskindex and use sdk.getComponent for EmojiText
This commit is contained in:
parent
1b414cad18
commit
4c1dcb924b
10 changed files with 13 additions and 9 deletions
|
@ -17,9 +17,10 @@
|
|||
'use strict';
|
||||
|
||||
import React from 'react';
|
||||
import EmojiText from '../elements/EmojiText';
|
||||
import sdk from '../../../index';
|
||||
|
||||
export default function SenderProfile(props) {
|
||||
const EmojiText = sdk.getComponent('elements.EmojiText');
|
||||
const {mxEvent} = props;
|
||||
const name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
||||
const {msgtype} = mxEvent.getContent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue