openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
146 stars 140 forks source link

fix: detect links in chat regardless of case #1176

Closed wadeking98 closed 3 months ago

wadeking98 commented 3 months ago

Summary of Changes

Previously the link detection logic in the chat was case sensitive, I've changed it to be case insensitive so things like HtTPs://gOogle.Com will still be detected as a link

Related Issues

N/A

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip 🤓

PR template adapted from the Python attrs project.