damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit ed90139b0cf75ac7b0f2a257f0af3bf28567c819
parent 022045d9167bee45e7cba0875858c20016a9aacc
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 21 Mar 2023 06:35:08 -0600

Fix bug where nostr: links and QRs stopped working

Changelog-Fixed: Fix bug where nostr: links and QRs stopped working

Diffstat:
Mdamus/Nostr/NostrLink.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Nostr/NostrLink.swift b/damus/Nostr/NostrLink.swift @@ -127,7 +127,7 @@ func decode_nostr_uri(_ s: String) -> NostrLink? { var uri = s.replacingOccurrences(of: "nostr://", with: "") uri = uri.replacingOccurrences(of: "nostr:", with: "") - uri = s.replacingOccurrences(of: "damus://", with: "") + uri = uri.replacingOccurrences(of: "damus://", with: "") uri = uri.replacingOccurrences(of: "damus:", with: "") let parts = uri.split(separator: ":")