Fixed clickable SIP URI pattern, added missing tilde
Updated CHANGELOG
This commit is contained in:
parent
7c3722a90a
commit
4d1adf6227
2 changed files with 15 additions and 1 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -16,6 +16,20 @@ Group changes to describe their impact on the project, as follows:
|
||||||
- Replaced voice recordings file name by localized placeholder text, like for video conferences invitations
|
- Replaced voice recordings file name by localized placeholder text, like for video conferences invitations
|
||||||
- Removed jetifier as it is not needed
|
- Removed jetifier as it is not needed
|
||||||
|
|
||||||
|
## [5.0.6] - Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Wrong country displayed in assistant after picking it in the list if another country has the same international prefix (such as +1)
|
||||||
|
- SIP URI clickable pattern missing '~'
|
||||||
|
- Crash that happens sometimes when CallActivity is destroyed
|
||||||
|
- Missing ephemeral icon next to send message icon
|
||||||
|
- Headers colors in IMDN details
|
||||||
|
- Pixel issue in call quality indicator 2 icon
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Improved incoming call layout when receiving early-media video
|
||||||
|
- Hidden "Echo Tester" setting unless in debug mode as it can mislead user and isn't useful for end user
|
||||||
|
|
||||||
## [5.0.5] - 2023-01-19
|
## [5.0.5] - 2023-01-19
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -191,7 +191,7 @@ class ChatMessageData(val chatMessage: ChatMessage) : GenericContactData(chatMes
|
||||||
val spannable = Spannable.Factory.getInstance().newSpannable(content.utf8Text?.trim())
|
val spannable = Spannable.Factory.getInstance().newSpannable(content.utf8Text?.trim())
|
||||||
text.value = PatternClickableSpan()
|
text.value = PatternClickableSpan()
|
||||||
.add(
|
.add(
|
||||||
Pattern.compile("(?:<?sips?:)?[a-zA-Z0-9+_.\\-]+(?:@([a-zA-Z0-9+_.\\-;=]+))+(>)?"),
|
Pattern.compile("(?:<?sips?:)?[a-zA-Z0-9+_.\\-]+(?:@([a-zA-Z0-9+_.\\-;=~]+))+(>)?"),
|
||||||
object : PatternClickableSpan.SpannableClickedListener {
|
object : PatternClickableSpan.SpannableClickedListener {
|
||||||
override fun onSpanClicked(text: String) {
|
override fun onSpanClicked(text: String) {
|
||||||
Log.i("[Chat Message Data] Clicked on SIP URI: $text")
|
Log.i("[Chat Message Data] Clicked on SIP URI: $text")
|
||||||
|
|
Loading…
Reference in a new issue