Commit graph

21 commits

Author SHA1 Message Date
Paul Akhamiogu
46f71c994f Show 2 checks when sms is delivered
- differentiate between sent sms and delivered sms by updating the SmsStatusSentReceiver which updates the type to Telephony.Sms.MESSAGE_TYPE_SENT or Telephony.Sms.MESSAGE_TYPE_FAILED depending on the outcome.
- rename ThreadSuccess to ThreadSent and add a boolean field for the delivery status
- SmsStatusSentReceiver updates the status of the message to Telephony.Sms.STATUS_COMPLETE.
- accommodate for the need to keep track of the status by adding Int field status to the Message class,
- add appropriate database migrations (3 to 4) for the new status field.
- add status to the query for sms in extension function Context.getMessages and Context.getMMS
- add extension function Context.updateMessageStatus to update the status of a message in the database
2021-08-25 16:57:07 +01:00
tibbi
a53652042b search conversations too, not just messages 2021-02-15 22:07:50 +01:00
tibbi
7048b7bcb5 adding the searching query 2021-02-15 20:38:01 +01:00
tibbi
d02df0a1a2 improve message marking after delivery to avoid glitching 2021-01-02 11:24:56 +01:00
tibbi
ac7d2afbb6 properley update message types in the local db too 2021-01-01 20:13:45 +01:00
tibbi
d1616d4997 removing the id field at conversations, use thread_id 2020-12-30 15:53:08 +01:00
tibbi
e116c5baa8 properly store sent messages in local db 2020-12-21 23:17:20 +01:00
tibbi
9aba85b967 add handling for local message deleting 2020-12-21 22:00:36 +01:00
tibbi
ba57fe2a22 properly mark read messages in the local db 2020-12-21 21:30:02 +01:00
tibbi
6405b7431f work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
tibbi
e357b4a659 insert messages in a local db at fetching 2020-12-21 19:27:21 +01:00
tibbi
633f7cf5c0 create a db table for Messages too 2020-12-21 18:02:07 +01:00
tibbi
b955678e90 creating a database table for MessageAttachments too 2020-12-21 16:40:48 +01:00
tibbi
0f33d3677b create a db table for attachments 2020-12-21 16:17:33 +01:00
tibbi
2e0d6a877d improving the unread messages counter badge 2020-07-27 22:37:11 +02:00
tibbi
22b6040a86 add a Mark as Unread menu item at the thread screen 2020-06-18 11:14:51 +02:00
tibbi
8dd3fc561f mark messages as read in the local db too 2020-05-30 20:29:37 +02:00
tibbi
661798cff4 renaming system_id to thread_id 2020-05-30 20:03:13 +02:00
tibbi
35c205605d properly handle inserting and deleting threads from local db 2020-05-30 20:01:09 +02:00
tibbi
7a7b1aab32 insert fetched conversations in db 2020-05-30 18:23:54 +02:00
tibbi
f638fa06f2 creating a room DB for storing conversations 2020-05-30 18:04:34 +02:00