[GH-ISSUE #42] Pending message does not get deleted and keeps reposting to server at periodic frequency #35

Closed
opened 2026-02-28 01:22:51 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Sep 29, 2012).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/42

Messages received on smssync android phone are sent to server multiple times. It stays in pending message and does not get cleared. When it is deleted manually, then the re-posting stops. We are using SMSSync 2.0.0 Beta. Has this already been fixed ?

Originally created by @ghost on GitHub (Sep 29, 2012). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/42 Messages received on smssync android phone are sent to server multiple times. It stays in pending message and does not get cleared. When it is deleted manually, then the re-posting stops. We are using SMSSync 2.0.0 Beta. Has this already been fixed ?
kerem 2026-02-28 01:22:51 +03:00
Author
Owner

@eyedol commented on GitHub (Oct 15, 2012):

@pankajlal I think it has to do with the response that you sent back to SMSSync from your client.

Did you return
{ payload: { success: "true" } }

<!-- gh-comment-id:9455182 --> @eyedol commented on GitHub (Oct 15, 2012): @pankajlal I think it has to do with the response that you sent back to SMSSync from your client. Did you return `{ payload: { success: "true" } }`
Author
Owner

@ghost commented on GitHub (Oct 29, 2012):

Ok, in some cases I don't but then I was expecting the smssync to not continue re-trying.

Now I return success: "true" even if it is a non-worthwhile sms. This is keeping the smssync queue clear.

Thanks for the question.

<!-- gh-comment-id:9869412 --> @ghost commented on GitHub (Oct 29, 2012): Ok, in some cases I don't but then I was expecting the smssync to not continue re-trying. Now I return success: "true" even if it is a non-worthwhile sms. This is keeping the smssync queue clear. Thanks for the question.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#35
No description provided.