mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-21 21:51:44 +02:00
Fixing quote of the root image in Messages
This commit is contained in:
@@ -298,7 +298,12 @@ object LocalCache {
|
|||||||
|
|
||||||
val author = getOrCreateUser(event.pubKey)
|
val author = getOrCreateUser(event.pubKey)
|
||||||
val mentions = Collections.synchronizedList(event.mentions.map { getOrCreateUser(decodePublicKey(it)) })
|
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.channel = channel
|
||||||
note.loadEvent(event, author, mentions, replyTo)
|
note.loadEvent(event, author, mentions, replyTo)
|
||||||
|
Reference in New Issue
Block a user