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 authored and r10s committed Apr 27, 2024
1 parent acc6e5d commit 37a27d8
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" {
UIApplication.shared.open(url)
decisionHandler(.cancel)
return
} else if url.scheme != INTERNALSCHEMA {
decisionHandler(.cancel)
return
Expand Down

0 comments on commit 37a27d8

Please sign in to comment.