Auto dismiss replaceable notifications (#711)

This commit is contained in:
Ross Savage
2025-02-04 16:53:40 +01:00
committed by GitHub
parent bf4a364c4b
commit d25598e6a4
19 changed files with 495 additions and 348 deletions

View File

@@ -31,7 +31,7 @@ class LnurlPayInvoiceTask : LnurlPayTask {
request = try JSONDecoder().decode(LnurlInvoiceRequest.self, from: self.payload.data(using: .utf8)!)
} catch let e {
self.logger.log(tag: TAG, line: "failed to decode payload: \(e)", level: "ERROR")
self.displayPushNotification(title: self.failNotificationTitle, logger: self.logger, threadIdentifier: Constants.NOTIFICATION_THREAD_LNURL_PAY)
self.displayPushNotification(title: self.failNotificationTitle, logger: self.logger, threadIdentifier: Constants.NOTIFICATION_THREAD_REPLACEABLE)
throw e
}