Avoids item drawing mishandling of multiple incognitos in the same chat screen

This commit is contained in:
Vitor Pamplona
2025-05-14 18:28:49 -04:00
parent 3c5b9dbca6
commit acf944ebac
3 changed files with 10 additions and 2 deletions
@@ -39,6 +39,10 @@ open class Event(
val content: String,
val sig: HexKey,
) : IEvent {
/**
* Set this to true if the .content is encrypted or encoded in a
* way that it should not be indexed for local search.
*/
open fun isContentEncoded() = false
open fun countMemory(): Long =