-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for bugle_db format of messages on newer Androids #26
base: master
Are you sure you want to change the base?
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. |
smstools/bugle.py
Outdated
'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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.