Fixes liveSet to delete. | Solves the outofsync error chat has been reporting.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user