Commit graph

21 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
AAlier
5169539a88 Add missing code 2023-06-24 04:28:35 +06:00
Naveen
83cdf0f623 Avoid resetting conversation name 2023-02-28 18:58:10 +05:30
Naveen
e87c8eeff7 Refresh messages when an MMS is received 2022-11-07 20:47:39 +05:30
Naveen
cb9e91ce08 Add the ability to block numbers by pattern 2022-09-17 23:52:06 +05:30
tibbi
591f473a1f updating commons with PhoneNumber containing multiple fields 2022-02-06 22:44:20 +01:00
tibbi
6405b7431f work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
tibbi
4cad413478 store attachment uri as a string 2020-12-21 15:29:10 +01:00
tibbi
4668629b30 really fix crashing at received MMS messages 2020-09-23 14:32:59 +02:00
tibbi
97fabfec1a fix a crash at receiving MMS 2020-09-23 10:08:07 +02:00
tibbi
e3f7d80987 fix a crash at showing received MMS messages 2020-09-22 14:16:05 +02:00
tibbi
2e0d6a877d improving the unread messages counter badge 2020-07-27 22:37:11 +02:00
tibbi
41fb730511 properly handle contacts with multiple phone numbers 2020-07-27 21:53:21 +02:00
tibbi
a85eb77d31 fix #47, mark the whole conversation as read with Mark as Read at notification 2020-06-17 21:45:17 +02:00
tibbi
0db8b202c7 properly add new messages into the local database on receiving 2020-05-30 20:21:27 +02:00
tibbi
b5cd6aafbc improving blocked number checking performance 2020-05-23 17:15:27 +02:00
tibbi
d4e9c22d13 add a Mark As Read notification item 2020-05-13 16:04:28 +02:00
tibbi
cfda56973d adding some extra checks to avoid showing blocked numbers on some places 2020-04-14 10:14:05 +02:00
tibbi
a5d8633593 prepare for handling multiple mms attachments 2020-04-12 18:13:40 +02:00
tibbi
02ba0e3651 properly handle and show received MMS 2020-04-10 20:06:14 +02:00
tibbi
0f4e89c8a9 do not allow using the app, if it isnt the default SMS handler 2020-04-04 16:44:40 +02:00