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

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

@ -404,6 +404,13 @@ public enum MessageReceiver {
fallthrough fallthrough
case is CallMessage:
if threadId == getUserHexEncodedPublicKey(db, using: dependencies) {
break
} else {
fallthrough
}
default: default:
// Only update the `shouldBeVisible` flag if the thread is currently not visible // Only update the `shouldBeVisible` flag if the thread is currently not visible
// as we don't want to trigger a config update if not needed // as we don't want to trigger a config update if not needed

Loading…
Cancel
Save