Commit graph

11 commits

Author SHA1 Message Date
Ensar Sarajčić
daf11dc6fd Properly look up participants in MMS group conversations
Application was always picking first participant when tapping on avatars
in conversations. It was also using first participant for MMS notifications.

This stores sender's phone number in the database, so it can be used to look
up correct participant in the list of participants. If matching on number fails,
matching on name is attempted. If both of these fail, it falls back to previous
behavior, which is just picking the first participant.

This may also be connected to #32, but I am not sure, since this should just
be related to behavior when tapping on avatars. Mixing up avatars in the
conversation should be a different issue.

This closes #433, closes #500, closes #384
2023-07-07 10:58:17 +02:00
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +05:30
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
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
d1616d4997 removing the id field at conversations, use thread_id 2020-12-30 15:53:08 +01:00
tibbi
6405b7431f work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +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
f638fa06f2 creating a room DB for storing conversations 2020-05-30 18:04:34 +02:00