Commit graph

855 commits

Author SHA1 Message Date
Naveen
35e9141888 Use a separate notification id for failure notifications
This way failure notifications won't overwrite the existing chat notifications (if there are any) as they also use thread id as notification id
2022-12-08 01:42:43 +05:30
Naveen
0523d93243 Only show failure notification when in background 2022-12-08 01:40:34 +05:30
Naveen
2fc70b2dc5 Fetch drafts on a background thread 2022-12-07 23:43:31 +05:30
Naveen
6e7dbb9056 Properly update sent message type 2022-12-07 22:39:04 +05:30
Naveen
860e6c255b Minor code improvement 2022-12-04 23:23:16 +05:30
Naveen
453d879c82 Minor readability improvement 2022-12-04 00:57:14 +05:30
Naveen
0ab85419af Improve and organise notification related code
Improvements related to the "Mark as read" button but it's not completely fixed yet. There's still a minor issue on android 13 devices

### Changes:
 - Move notification related code to a separate helper
 - Update notification instead of cancelling when using inline replies
 - Disable sound on inline replies
 - Reuse existing transaction api extensions for sending inline replies
2022-12-04 00:49:41 +05:30
Naveen
08b3379729 Update conversations on pin/unpin 2022-11-26 23:33:26 +05:30
Tibor Kaputa
0686611c95
Merge pull request #498 from Naveen3Singh/feature_group_details
Add ability to change group names
2022-11-25 23:00:04 +01:00
Naveen
35d53ba267 Remove conversation type check 2022-11-26 03:28:15 +05:30
Naveen
51f9662820 Properly start contact view intent 2022-11-26 03:24:18 +05:30
Tibor Kaputa
c25cfa7588
lets use alpha value from commons for consistency 2022-11-25 22:00:45 +01:00
Naveen
786f788ba7 Save sender name, photo when receiving a message 2022-11-25 23:22:38 +05:30
Tibor Kaputa
9d90ec13e1
formatting some code 2022-11-24 22:46:26 +01:00
shenzhigang
2e5a18a029 Fix Mms duplication on scroll to top 2022-11-24 21:50:51 +08:00
Naveen
48ebef6420 Fix conversation duplication glitch 2022-11-21 23:25:18 +05:30
Naveen
740fd1f0eb Update thread title on resume 2022-11-21 22:53:29 +05:30
Naveen
e0787d7c83 Persist sub id when sending sms messages 2022-11-21 21:00:26 +05:30
Naveen
5aac009102 Add conversation details page 2022-11-21 17:28:21 +05:30
Naveen
8d283858e1 Add ability to rename group conversations 2022-11-21 02:51:51 +05:30
Naveen
a54a65c081 Minor code formatting 2022-11-19 22:59:19 +05:30
Naveen
398c2237bc Retain scroll position when deleting messages
Removed the call to `refreshMessages()` as it's not really needed here and also because it'll reset the scroll position in some cases
2022-11-19 22:46:18 +05:30
Naveen
c6d453f5ab Fix typo 2022-11-19 22:04:57 +05:30
Naveen
6cc8277694 Enable stable ids again
now we have stable ids, sorta
2022-11-19 06:08:01 +05:30
Naveen
4295e5cf55 Fix scheduled message glitch and clarify logic 2022-11-19 05:30:11 +05:30
Naveen
89f378b973 Minor code consistency change 2022-11-18 01:45:17 +05:30
Naveen
417a37bbb4 Move blocking stuff to background thread 2022-11-18 01:15:46 +05:30
Naveen
da6354c9a1 Update the Ui ASAP when sending a message 2022-11-18 01:05:19 +05:30
Naveen
ca1ad0043b Minor messaging code improvement 2022-11-18 01:01:10 +05:30
Naveen
3d9cb5bdac Disable setHasStableIds
because we really don't have stable ids (yet)
2022-11-18 01:00:33 +05:30
Naveen
d8dadd1f55 Use DiffUtil with thread recyclerview
Also added a progress indicator at the top while fetching older messages
2022-11-17 02:25:36 +05:30
Naveen
c5034a64d5 Don't fetch file size in thread list 2022-11-16 15:54:25 +05:30
Naveen
2d36794a17 Merge branch 'master' into recyclerview_improvements 2022-11-16 14:03:36 +05:30
tibbi
ce35553eca fixing an error toast message 2022-11-15 23:03:57 +01:00
tibbi
a65916c54e catch and show exceptions thrown at sending a message 2022-11-13 20:31:03 +01:00
tibbi
c8818bfa57 lets lock number blocking 2022-11-13 20:14:46 +01:00
Naveen
9bdc8b6f7e Use DiffUtil at conversations screen 2022-11-13 00:38:11 +05:30
tibbi
3092253022 hide the More Apps From Us menu item in some cases 2022-11-12 19:27:57 +01:00
tibbi
ee339dcd6b adding a "More apps from us" menu button 2022-11-10 17:03:40 +01:00
tibbi
bc8bd5dc5f fixing some spacing 2022-11-10 16:45:18 +01:00
Tibor Kaputa
56ea66634d
Merge branch 'master' into enter-to-send 2022-11-10 16:41:07 +01:00
Naveen
10b0135922 Apply window insets 2022-11-08 02:16:07 +05:30
Naveen
b4c5648ddc Properly handle attachment picker visibility 2022-11-08 02:13:24 +05:30
elena
407538e497 Add option to send on enter pressed 2022-11-07 18:41:51 +00:00
Naveen
e87c8eeff7 Refresh messages when an MMS is received 2022-11-07 20:47:39 +05:30
Tibor Kaputa
4fee6bb7b4
removing an unused import 2022-11-07 16:03:01 +01:00
Tibor Kaputa
cba85bb2fa
Merge branch 'master' into feature_attachments 2022-11-07 16:00:34 +01:00
Naveen
ccacc51156 Check for exact mimetype match 2022-11-07 20:22:22 +05:30
tibbi
14859607ec limit shown attachment sizes in thread to avoid OOM 2022-11-07 15:47:34 +01:00
Naveen
1e67cd0fdf Use 'application/txt' when sending text files 2022-11-07 15:35:57 +05:30