diff --git a/src/components/structures/MessagePanel.tsx b/src/components/structures/MessagePanel.tsx index 4ca38266dd..c014585529 100644 --- a/src/components/structures/MessagePanel.tsx +++ b/src/components/structures/MessagePanel.tsx @@ -712,7 +712,7 @@ export default class MessagePanel extends React.Component { const callEventGrouper = this.callEventGroupers.get(mxEv.getContent().call_id); - const isDirectMessage = this.props.room?.getJoinedMemberCount() <= 2; + const isDirectMessage = this.props.room?.getMembersCount() <= 2; // use txnId as key if available so that we don't remount during sending ret.push(