mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-06-10 17:36:16 +00:00
Message date is a long, not a int
This commit is contained in:
parent
15c9617a2b
commit
449a6b2a81
@ -86,7 +86,7 @@ public interface ASyncSMSRecovery {
|
|||||||
|
|
||||||
MailboxID mailbox_id = MailboxID.fromInt(mbid);
|
MailboxID mailbox_id = MailboxID.fromInt(mbid);
|
||||||
|
|
||||||
String date = Integer.toString((int) message.getDate());
|
String date = Long.toString(message.getDate());
|
||||||
// Ignore already existing messages
|
// Ignore already existing messages
|
||||||
if (smsDataProvider.messageExists(address, body, date, mailbox_id)) {
|
if (smsDataProvider.messageExists(address, body, date, mailbox_id)) {
|
||||||
publishProgress(nb);
|
publishProgress(nb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user