Skip to content

Commit 48ebef6

Browse files
committed
Fix conversation duplication glitch
1 parent e0787d7 commit 48ebef6

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ fun Context.getMessages(
112112
val thread = cursor.getLongValue(Sms.THREAD_ID)
113113
val subscriptionId = cursor.getIntValue(Sms.SUBSCRIPTION_ID)
114114
val status = cursor.getIntValue(Sms.STATUS)
115-
val participants = senderNumber.split(getAddressSeparator().toRegex()).map { number ->
115+
val participants = senderNumber.split(getAddressSeparator()).map { number ->
116116
val phoneNumber = PhoneNumber(number, 0, "", number)
117117
val participantPhoto = getNameAndPhotoFromPhoneNumber(number)
118118
SimpleContact(0, 0, participantPhoto.name, photoUri, arrayListOf(phoneNumber), ArrayList(), ArrayList())

0 commit comments

Comments
 (0)