Hide sender and time for back to back messages

This commit is contained in:
N-Pex 2020-12-16 11:21:29 +01:00
parent 7183681e71
commit 2ebe4d982c
5 changed files with 35 additions and 10 deletions

View file

@ -27,7 +27,7 @@
@notify="handleChatContainerResize"
/>
<div v-for="event in events" :key="event.getId()">
<div v-for="(event,index) in events" :key="event.getId()">
<div
v-if="
!event.isRelation() && !event.isRedacted() && !event.isRedaction()
@ -49,6 +49,7 @@
:is="componentForEvent(event)"
:room="room"
:event="event"
:nextEvent="events[index + 1]"
:reactions="
timelineWindow._timelineSet.getRelationsForEvent(
event.getId(),