mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 03:30:29 +03:00
fix thread fallback (#1478)
This commit is contained in:
parent
1ff312d236
commit
c0abb0d50d
3 changed files with 8 additions and 3 deletions
|
|
@ -86,6 +86,7 @@ import {
|
|||
getMemberDisplayName,
|
||||
getReactionContent,
|
||||
isMembershipChanged,
|
||||
reactionOrEditEvent,
|
||||
} from '../../utils/room';
|
||||
import { useSetting } from '../../state/hooks/settings';
|
||||
import { settingsAtom } from '../../state/settings';
|
||||
|
|
@ -1632,7 +1633,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
|
|||
prevEvent.getType() === mEvent.getType() &&
|
||||
minuteDifference(prevEvent.getTs(), mEvent.getTs()) < 2;
|
||||
|
||||
const eventJSX = mEvent.isRelation()
|
||||
const eventJSX = reactionOrEditEvent(mEvent)
|
||||
? null
|
||||
: renderMatrixEvent(mEventId, mEvent, item, timelineSet, collapsed);
|
||||
prevEvent = mEvent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue