BugFix: Don't add e tags with addresses.

pull/310/head
Vitor Pamplona 2023-03-23 12:24:11 -04:00
rodzic be09577db1
commit 7a1470ef7b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -360,7 +360,7 @@ class Account(
fun sendPost(message: String, replyTo: List<Note>?, mentions: List<User>?) {
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 addresses = replyTo?.mapNotNull { it.address() }