Fixes liveSet to delete. | Solves the outofsync error chat has been reporting.

This commit is contained in:
Vitor Pamplona 2023-02-25 15:28:42 -05:00
parent a8e9189fce
commit 08b0d8032b
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class Note(val idHex: String) {
}
fun clearLive() {
if (liveSet != null && liveSet?.isInUse() == true) {
if (liveSet != null && liveSet?.isInUse() == false) {
liveSet = null
}
}

View File

@ -288,7 +288,7 @@ class User(val pubkeyHex: String) {
}
fun clearLive() {
if (liveSet != null && liveSet?.isInUse() == true) {
if (liveSet != null && liveSet?.isInUse() == false) {
liveSet = null
}
}