fix read receipts trickling down correctly (#9567)
This commit is contained in:
parent
fca6ff271c
commit
1dbf9c205e
2 changed files with 9 additions and 1 deletions
|
@ -99,3 +99,11 @@ export default function MemberAvatar({
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export class LegacyMemberAvatar extends React.Component<IProps> {
|
||||||
|
public render(): JSX.Element {
|
||||||
|
return <MemberAvatar {...this.props}>
|
||||||
|
{ this.props.children }
|
||||||
|
</MemberAvatar>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ import { logger } from "matrix-js-sdk/src/logger";
|
||||||
|
|
||||||
import NodeAnimator from "../../../NodeAnimator";
|
import NodeAnimator from "../../../NodeAnimator";
|
||||||
import { toPx } from "../../../utils/units";
|
import { toPx } from "../../../utils/units";
|
||||||
import MemberAvatar from '../avatars/MemberAvatar';
|
import { LegacyMemberAvatar as MemberAvatar } from '../avatars/MemberAvatar';
|
||||||
import { READ_AVATAR_SIZE } from "./ReadReceiptGroup";
|
import { READ_AVATAR_SIZE } from "./ReadReceiptGroup";
|
||||||
|
|
||||||
export interface IReadReceiptInfo {
|
export interface IReadReceiptInfo {
|
||||||
|
|
Loading…
Reference in a new issue