Commit graph

13 commits

Author SHA1 Message Date
Naveen
ee8130c767 Handle conversations with scheduled messages only 2022-09-28 02:05:06 +05:30
Naveen
16ea540d48 Setup database migrations for scheduled messages 2022-09-27 15:43:10 +05:30
tibbi
9265946d64 delete db after latest update 2022-02-11 09:28:53 +01:00
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
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
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