Skip to content

Commit

Permalink
try to support openpgp4fpr links inside webxdc
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Apr 25, 2024
1 parent acc6e5d commit b409e9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deltachat-ios/Controller/WebxdcViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ class WebxdcViewController: WebViewViewController {
openChatFor(url: url)
decisionHandler(.cancel)
return
} else if url.scheme.lowercased() == "openpgp4fpr" {

Check failure on line 325 in deltachat-ios/Controller/WebxdcViewController.swift

View workflow job for this annotation

GitHub Actions / build

value of optional type 'String?' must be unwrapped to refer to member 'lowercased' of wrapped base type 'String'
UIApplication.shared.open(url)
decisionHandler(.cancel)
return
} else if url.scheme != INTERNALSCHEMA {
decisionHandler(.cancel)
return
Expand Down

0 comments on commit b409e9f

Please sign in to comment.