SUMMARY Kdeconnect should display archived messages in a different folder to unarchived messages, as my Android device does STEPS TO REPRODUCE 1. Archive a message on my Android device 2. Look at message list in kdeconnect-sms OBSERVED RESULT See "archived" message in general message list; there is no message archive EXPECTED RESULT Archived messages should only appear in the archived message folder SOFTWARE/OS VERSIONS kdeconnect: 1.4 OS: stock Ubuntu 20.04, default repos for KDE/Plasma ADDITIONAL INFORMATION
As of now, I don't believe this is possible. I believe the archived state is a "facade" created by some messaging apps to hide conversations you don't want to see, but which is fully managed by the messaging app. The list of columns (which tell you about messages in Android) is here: https://developer.android.com/reference/android/provider/Telephony.BaseMmsColumns If anyone has documentation for how to support archiving messages, please share it here.
This isn't enough to answer the question of "where are the docs for the relevant API?", but when I look in the sqlite database for com.android.messaging, there is a column in the "Conversations" table named "archive_status", which is of type "int". How to access that through an API? Err, yep, nope.
I'm sure it varies for each particular messaging app.
(In reply to robin from comment #3) > I'm sure it varies for each particular messaging app. Yes, my thinking as well. Also unless the particular messaging app exposes it in some way, it wouldn't be possible for KDE Connect to access it (without root). I retain hope that we're both wrong and the archive status is in the "real" database, but I suspect it is not.
*** Bug 443657 has been marked as a duplicate of this bug. ***