Skip to content

Add option to clear out stuck receiving SMS Messages.

Chris Talbot requested to merge wip/stuck_sms into main

I started this to get some comments on it. I think it needs work, but I am not sure how to best go about this, so please let me know!

As shown here: #803 (closed) and #873 (closed)

Modem Manager can get messages that are stuck in receiving, and if they pile up, SMSes just stop appearing. I think Chatty should take care of this.

While I could like to use timestamps, https://www.freedesktop.org/software/ModemManager/doc/latest/libmm-glib/MMSms.html#mm-sms-get-timestamp Shows that only MM_SMS_PDU_TYPE_DELIVER can get them, and a receiving can also be MM_SMS_PDU_TYPE_CDMA_DELIVER`: https://gitlab.gnome.org/World/Chatty/-/blob/main/src/mm/chatty-mm-account.c?ref_type=heads#L715 . So if it isn't there, I give it the standard timeout

This is also similar to here: https://gitlab.gnome.org/World/Chatty/-/blob/main/src/mm/chatty-mmsd.c?ref_type=heads#L337 where we clear out MMSes that never get a delivery report.

Edited by Chris Talbot

Merge request reports