Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ef918be authored by narinder Rana's avatar narinder Rana
Browse files

code refine

parent 4c7e37a3
Loading
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -311,15 +311,6 @@ class MessageRepositoryImpl @Inject constructor(
                ?.let(SmsManagerFactory::createSmsManager)
                ?: SmsManager.getDefault()

//        // We only care about stripping SMS
//        val strippedBody = when (prefs.unicode.get()) {
//            true -> StripAccents.stripAccents(signedBody)
//            false -> signedBody
//        }

//      //  val parts = smsManager.divideMessage(strippedBody).orEmpty()
//        val forceMms = prefs.longAsMms.get() && parts.size > 1

        if (addresses.size == 1 && attachments.isEmpty()) { // SMS
            if (delay > 0) { // With delay
                val sendTime = System.currentTimeMillis() + delay