Removes debugging logs

This commit is contained in:
Vitor Pamplona 2024-12-25 11:09:20 -05:00
parent 739a073d4e
commit f38383d4e4
2 changed files with 0 additions and 19 deletions

View File

@ -1402,10 +1402,6 @@ object LocalCache {
val replyTo = computeReplyTo(event)
if (event.id == "e01875f2f4c31a7512a56e677e135d6d2d28cbd7b7b0d5610e4b28fc4869f181") {
println("AABBCC ${replyTo.joinToString(",") { it.idHex} }")
}
note.loadEvent(event, author, replyTo)
// Log.d("CM", "New Chat Note (${note.author?.toBestDisplayName()} ${note.event?.content()}

View File

@ -194,25 +194,10 @@ open class BaseTextNoteEvent(
// removes forks from itself.
}.map { it.toTag() }
if (id == "e01875f2f4c31a7512a56e677e135d6d2d28cbd7b7b0d5610e4b28fc4869f181") {
val newStyleReply = tags.lastOrNull { it.size > 3 && it[0] == "e" && it[3] == "reply" }?.get(1)
val newStyleRoot = tags.lastOrNull { it.size > 3 && it[0] == "e" && it[3] == "root" }?.get(1)
println("AABBCC 1 Root: $newStyleRoot")
println("AABBCC 1 Reply: $newStyleReply")
println("AABBCC 1 Certain: ${certainRepliesTo.joinToString(",")}")
println("AABBCC 1 Uncertain: ${uncertainRepliesTo.joinToString(",")}")
}
if (certainRepliesTo.isEmpty() && uncertainRepliesTo.isEmpty() && tagAddresses.isEmpty()) return emptyList()
val citations = findCitations()
if (id == "e01875f2f4c31a7512a56e677e135d6d2d28cbd7b7b0d5610e4b28fc4869f181") {
println("AABBCC 2 ${citations.joinToString(",") { it }}")
}
return if (citations.isEmpty()) {
if (certainRepliesTo.isNotEmpty()) {
certainRepliesTo + tagAddresses