Closed Idix closed 6 years ago
hello the sync popup is the real sync cursor popup is shown on each transfer to server. I don't see any error in the log you shown, all seems good.
Hi,
I have two problems with this :
Thanks, Idix
Hi,
After some digging I found why the messages don't get synchronised. The application is sending the messages with a negative timestamp.
Here is an extract received by nextcloud, numbers and messages have been removed.
array(73) {
...
[70]=>
array(8) {
["_id"]=>
int(68)
["mbox"]=>
int(1)
["type"]=>
int(2)
["date"]=>
int(-1615270374)
["body"]=>
string(4) "XXXXX"
["address"]=>
string(17) "XXXXXX"
["read"]=>
string(4) "true"
["seen"]=>
string(4) "true"
}
[71]=>
array(8) {
["_id"]=>
int(69)
["mbox"]=>
int(1)
["type"]=>
int(2)
["date"]=>
int(-1615264449)
["body"]=>
string(20) "XXXX"
["address"]=>
string(17) "XXXX"
["read"]=>
string(4) "true"
["seen"]=>
string(4) "true"
}
[72]=>
array(8) {
["_id"]=>
int(71)
["mbox"]=>
int(1)
["type"]=>
int(2)
["date"]=>
int(-1615158797)
["body"]=>
string(9) "XXXX"
["address"]=>
string(17) "XXXX"
["read"]=>
string(4) "true"
["seen"]=>
string(4) "true"
}
}
@Idix interesting output, seems to be a underflow somewhere on the client, or a conversion error.
I pushed 2.0.3 tag, it will be pushed to play store soon. I think it's a conversion issue between gomobile & java, due to the 32b part in golang, now date is correctly in 64b
Thanks @nerzhul, any chance that you send me the build in some manner ? I don't have the play store on my phone (no gapps) and f-droid takes a week or so to push an update.
Send me a mail at contact at unix-experience dot fr and i will send you the APK
Hi @nerzhul, it was indeed an issue with underflow of the timestamp. I still have another problem but I will open a new issue for it.