Removes the block on Multiple Zaps in a single post (copy paste from the like button, that has a block to avoid multiple likes)

pull/167/head
Vitor Pamplona 2023-02-25 16:11:03 -05:00
rodzic 08b0d8032b
commit 9178135127
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -141,11 +141,6 @@ class Account(
fun createZapRequestFor(note: Note): LnZapRequestEvent? {
if (!isWriteable()) return null
if (note.hasZapped(userProfile())) {
// has already liked this note
return null
}
note.event?.let {
return LnZapRequestEvent.create(it, userProfile().relays?.keys?.ifEmpty { null } ?: localRelays.map { it.url }.toSet(), loggedIn.privKey!!)
}