mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
parent
76c17df0e6
commit
462c2e978e
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ const TimelineEvent = ({ evt, prevEvt, disableMenu }: TimelineEventProps) => {
|
|||
if (BodyType === HiddenEvent) {
|
||||
wrapperClassNames.push("hidden-event")
|
||||
}
|
||||
if (evt.sender === client.userID) {
|
||||
wrapperClassNames.push("own-event")
|
||||
}
|
||||
let dateSeparator = null
|
||||
const prevEvtDate = prevEvt ? new Date(prevEvt.timestamp) : null
|
||||
if (prevEvtDate && (
|
||||
|
|
Loading…
Add table
Reference in a new issue