Added support for bugle_db format of messages on newer Androids#26
Added support for bugle_db format of messages on newer Androids#26p1ne wants to merge 3 commits intot413:masterfrom
Conversation
|
This is working. Thank you for your efforts it has helped me. |
|
This doesn't work for MMSes (group chats, pictures, etc.). @p1ne ? |
|
Group chats should be possible to add. Images, on the other hand, seem to be stored elsewhere (not in bugle_db). |
|
Also the resulting file thinks all of the texts you sent are actually authored by the other person in the conversation. This is a pretty bad bug. |
| 'select\ | ||
| ppl.normalized_destination as num,\ | ||
| p.timestamp as date,\ | ||
| case when m.sender_id in (select _id from participants where contact_id=-1) then 2 else 1 end incoming,\ |
There was a problem hiding this comment.
By using -2 in the "where clause", this seems to partially work with my saved db.
| case when m.sender_id in (select _id from participants where contact_id=-1) then 2 else 1 end incoming,\ | |
| case when m.sender_id in (select _id from participants where contact_id=-2) then 2 else 1 end incoming,\ |
That's OK for conversations with known participants (in participants table).
For pushed SMS or unknown participants (without full_name in participants table), messages are assigned to the receiver instead of sender.
IMO, the SQL request needs to be refined to match all cases.
However, it was enough to save my life when my phone dropped me
|
This looks like what is needed to pull out images |
Fix issue where all messages were set as incoming
No description provided.