mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-22 21:51:57 +02:00
BugFix: Don't add e tags with addresses.
This commit is contained in:
@@ -360,7 +360,7 @@ class Account(
|
|||||||
fun sendPost(message: String, replyTo: List<Note>?, mentions: List<User>?) {
|
fun sendPost(message: String, replyTo: List<Note>?, mentions: List<User>?) {
|
||||||
if (!isWriteable()) return
|
if (!isWriteable()) return
|
||||||
|
|
||||||
val repliesToHex = replyTo?.map { it.idHex }
|
val repliesToHex = replyTo?.filter { it.address() == null }?.map { it.idHex }
|
||||||
val mentionsHex = mentions?.map { it.pubkeyHex }
|
val mentionsHex = mentions?.map { it.pubkeyHex }
|
||||||
val addresses = replyTo?.mapNotNull { it.address() }
|
val addresses = replyTo?.mapNotNull { it.address() }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user