mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-11 21:39:26 +02:00
Fixes liveSet to delete. | Solves the outofsync error chat has been reporting.
This commit is contained in:
parent
a8e9189fce
commit
08b0d8032b
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user