fix an issue where Note to self appears after receiving first call

pull/1061/head
Ryan ZHAO 9 months ago
parent 0b33e7a5fb
commit a26da76484

@ -403,6 +403,13 @@ public enum MessageReceiver {
}
fallthrough
case is CallMessage:
if threadId == getUserHexEncodedPublicKey(db, using: dependencies) {
break
} else {
fallthrough
}
default:
// Only update the `shouldBeVisible` flag if the thread is currently not visible

Loading…
Cancel
Save