<table><tr><td style="">andyholmes added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17214">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>All of our SMS app works on thread_id, with the assumption that they would be unique...</p></blockquote>

<p>Oh, I believe they are unique, but they are  *also* unique to phone number. So there will never be a <tt style="background: #ebebeb; font-size: 13px;">address</tt> with more than one <tt style="background: #ebebeb; font-size: 13px;">thread_id</tt>; any messages received from or sent to that address will always appear in the same <tt style="background: #ebebeb; font-size: 13px;">thread_id</tt>.</p>

<p>So what I mean is, when starting a "new" conversation, you can watch for new messages from the target <tt style="background: #ebebeb; font-size: 13px;">address</tt> and catch the <tt style="background: #ebebeb; font-size: 13px;">thread_id</tt> (probably even from your "sent confirmation" packet).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R224 KDE Connect</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17214">https://phabricator.kde.org/D17214</a></div></div><br /><div><strong>To: </strong>turx, albertvaka, nicolasfella, sredman, KDE Connect<br /><strong>Cc: </strong>andyholmes, apol, kdeconnect, varunp, shivanshukantprasad, skymoore, brute4s99, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, mikesomov, tctara<br /></div>