1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-07 07:56:14 +00:00

Message date is a long, not a int

This commit is contained in:
Loic Blot 2018-03-18 12:16:25 +01:00
parent 15c9617a2b
commit 449a6b2a81
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987

View File

@ -86,7 +86,7 @@ public interface ASyncSMSRecovery {
MailboxID mailbox_id = MailboxID.fromInt(mbid);
String date = Integer.toString((int) message.getDate());
String date = Long.toString(message.getDate());
// Ignore already existing messages
if (smsDataProvider.messageExists(address, body, date, mailbox_id)) {
publishProgress(nb);