Closed jaros1 closed 6 years ago
For example this message. Note sent_at timestamp at message level. Testing for sent_at timestamp at message_with_envelope level.
message_with_envelope = { "folder": "outbox", "message": { "msgtype": "chat msg", "message": "https://github.com/jaros1/Money-Network-W2/issues/41 / test 24. Expects pubkeys message from montreal to torando NOT to be deleted.", "money_transactions": [{ "wallet_url": "1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1", "wallet_sha256": "e488d78dc26af343688045189a714658ed0f7975d4db158a7c0c5d0a218bfac7", "wallet_name": "MoneyNetworkW2", "action": "Send", "code": "tBTC", "name": "Test Bitcoin", "amount": 0.00010024, "money_transactionid": "k1Fh9bulePd2bronfd8wFBz3r7XMtXEBkzMaUsGPy3LSIlrVBHPyPnhjW9Cz", "json": {"return_address": "2N2ywhQJmvWi4kGQpqiQNZC8oeFN2uF1VAh"} }, { "wallet_url": "1LqUnXPEgcS15UGwEgkbuTbKYZqAUwQ7L1", "wallet_sha256": "e488d78dc26af343688045189a714658ed0f7975d4db158a7c0c5d0a218bfac7", "wallet_name": "MoneyNetworkW2", "action": "Request", "code": "tBTC", "name": "Test Bitcoin", "amount": 0.00010024, "money_transactionid": "k1Fh9bulePd2bronfd8wFBz3r7XMtXEBkzMaUsGPy3LSIlrVBHPyPnhjW9Cz", "json": {"address": "2NByMxPco3Y6FYUNgsYyD28xanxbviv2xD7"} }], "feedback": {"sent": [7821, 7822, 7824, 7825, 7838, 7839, 7841, 7845, 7847, 7850, 7851, 7852, 7854, 7855, 7856, 7857, 7858, 7874, 7876, 7878, 7879, 7880, 7883, 7885, 7892, 7894, 7896, 7898, 7899, 7901, 7923, 7924, 7931, 7932, 7944, 7946, 7950, 7951, 7952, 7953]}, "sent_at": 1512048890229 }, "created_at": 1512048888857, "local_msg_seq": 7820, "sender_sha256": "784c226f5808733f395960a637e960f8a4acbe7b7c9fc0fe603fbddc92377c0c", "encryption": 1, "ls_msg_size": 1457, "seq": 362 };
Problem was receiving an incoming message from contact without public keys. Contact had not received message with local_msg_seq 7820. Retrying to resend but cannot. Added some code to avoid notification and delete "unsent" message.
"Montreal" after import.
127.0.0.1-1519648721786.log