Fix promise not completing

This commit is contained in:
nielsandriesse 2020-12-09 10:15:59 +11:00
parent c0a5bf263f
commit 97d0160138
1 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ public final class MessageSender : NSObject {
seal.fulfill(()) // Always fulfill because the notify PN server job isn't critical.
}
}
} else {
seal.fulfill(())
}
}, completion: { })
}