mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Load raw address when syncing recipients
This commit is contained in:
@@ -20,7 +20,6 @@ package data.mapper
|
||||
|
||||
import android.database.Cursor
|
||||
import android.net.Uri
|
||||
import android.telephony.PhoneNumberUtils
|
||||
import data.model.Recipient
|
||||
import javax.inject.Inject
|
||||
|
||||
@@ -35,7 +34,7 @@ class CursorToRecipient @Inject constructor() : Mapper<Cursor, Recipient> {
|
||||
|
||||
override fun map(from: Cursor) = Recipient().apply {
|
||||
id = from.getLong(COLUMN_ID)
|
||||
address = PhoneNumberUtils.stripSeparators(from.getString(COLUMN_ADDRESS))
|
||||
address = from.getString(COLUMN_ADDRESS)
|
||||
lastUpdate = System.currentTimeMillis()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user