Fixing quote of the root image in Messages

pull/7/head
Vitor Pamplona 2023-01-21 12:40:49 -03:00
rodzic a692ad47d6
commit 790dd778bb
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -298,7 +298,12 @@ object LocalCache {
val author = getOrCreateUser(event.pubKey)
val mentions = Collections.synchronizedList(event.mentions.map { getOrCreateUser(decodePublicKey(it)) })
val replyTo = Collections.synchronizedList(event.replyTos.map { channel.getOrCreateNote(it) }.toMutableList())
val replyTo = Collections.synchronizedList(
event.replyTos
.map { channel.getOrCreateNote(it) }
.filter { it.event !is ChannelCreateEvent }
.toMutableList()
)
note.channel = channel
note.loadEvent(event, author, mentions, replyTo)