mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
fix a glitch at setting the received sms time in the future
This commit is contained in:
@@ -25,7 +25,7 @@ class SmsReceiver : BroadcastReceiver() {
|
|||||||
address = it.originatingAddress ?: ""
|
address = it.originatingAddress ?: ""
|
||||||
subject = it.pseudoSubject
|
subject = it.pseudoSubject
|
||||||
body += it.messageBody
|
body += it.messageBody
|
||||||
date = it.timestampMillis
|
date = Math.min(it.timestampMillis, System.currentTimeMillis())
|
||||||
threadId = context.getThreadId(address)
|
threadId = context.getThreadId(address)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user