mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
back out small avatars for emotes for now as they conflict with the E2E artwork.
they will be reintroduced once we have lozenges
This commit is contained in:
parent
83209197f4
commit
46205ad83c
2 changed files with 4 additions and 2 deletions
|
@ -346,6 +346,7 @@ module.exports = React.createClass({
|
|||
continuation = true;
|
||||
}
|
||||
|
||||
/*
|
||||
// Work out if this is still a continuation, as we are now showing commands
|
||||
// and /me messages with their own little avatar. The case of a change of
|
||||
// event type (commands) is handled above, but we need to handle the /me
|
||||
|
@ -357,6 +358,7 @@ module.exports = React.createClass({
|
|||
&& prevEvent.getContent().msgtype === 'm.emote') {
|
||||
continuation = false;
|
||||
}
|
||||
*/
|
||||
|
||||
// local echoes have a fake date, which could even be yesterday. Treat them
|
||||
// as 'today' for the date separators.
|
||||
|
|
|
@ -375,7 +375,7 @@ module.exports = React.createClass({
|
|||
|
||||
// Info messages are basically information about commands processed on a
|
||||
// room, or emote messages
|
||||
var isInfoMessage = (msgtype === 'm.emote' || eventType !== 'm.room.message');
|
||||
var isInfoMessage = false; // (msgtype === 'm.emote' || eventType !== 'm.room.message');
|
||||
|
||||
var EventTileType = sdk.getComponent(eventTileTypes[eventType]);
|
||||
// This shouldn't happen: the caller should check we support this type
|
||||
|
@ -422,7 +422,7 @@ module.exports = React.createClass({
|
|||
needsSenderProfile = false;
|
||||
} else {
|
||||
avatarSize = 30;
|
||||
needsSenderProfile = true;
|
||||
needsSenderProfile = (eventType === 'm.room.message');
|
||||
}
|
||||
|
||||
if (this.props.mxEvent.sender && avatarSize) {
|
||||
|
|
Loading…
Reference in a new issue