Delabs Show current avatar and name for users in message history
(#8764)
Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
0bf5d54041
commit
88afd552d8
8 changed files with 299 additions and 8 deletions
|
@ -38,7 +38,7 @@ export default class SenderProfile extends React.PureComponent<IProps> {
|
|||
const msgtype = mxEvent.getContent().msgtype;
|
||||
|
||||
let member = mxEvent.sender;
|
||||
if (SettingsStore.getValue("feature_use_only_current_profiles")) {
|
||||
if (SettingsStore.getValue("useOnlyCurrentProfiles")) {
|
||||
const room = MatrixClientPeg.get().getRoom(mxEvent.getRoomId());
|
||||
if (room) {
|
||||
member = room.getMember(mxEvent.getSender());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue