Alex Hart
601eb967de
Make pending intent flags explicit.
2022-02-08 16:49:49 -04:00
Greyson Parrelli
0877d6a25e
Improve handling of unknown fields in storage service.
...
Improve handling of unknown fields in storage service.
Found a lovely bug today where unmuting chats on mobile didn't sync to my linked devices. Turns out this was a result of the unknown field merging.
1. When a proto has unknown fields, we store the entire proto in a column in our database.
2. After building a proto that we want to write remotely, we merge the saved proto with unknown fields into constructed proto. Most of the time this is fine.
3. _However_, if one of the values you're trying to set happens to be the same as the default value for the given data type (e.g. setting a long like mutedUntil = 0), then when the protos merge, it treats that field as unset and can override it with the field from the proto with unknown fields.
4. Because we currently have unknown fields in every GV2 record, we could never unmute a GV2 group :(
This changes the order of things so that unknown fields are the first thing applied in the record builder. I did this by requiring them in the builder constructors. That way start off with the unknown fields and then can manually set whatever you want, and it'll be guaranteed to override it.
2022-02-08 16:49:49 -04:00
Sgn-32
c09c6587b9
Don't call a Signal audio call a Signal video call.
2022-02-08 16:49:49 -04:00
Alexandre Erwin Ittner
6617ecdf39
Allow sending message by pressing Ctrl+Enter on a physical keyboard
2022-02-08 16:49:49 -04:00
Alex Hart
b36b34b1fd
Do not display SVGs as selectable images.
...
Fixes #10922
Fixes #11032
2022-02-08 16:49:49 -04:00
Cody Henthorne
d8e0baa9ee
Fix duplicate conversation menu entires.
2022-02-08 16:49:49 -04:00
Alex Hart
3bb4cdf46b
Fix crash when opening convo popup.
2022-02-08 09:21:03 -04:00
Sgn-32
2181e34e6a
Remove unused interface RedPhoneCallTypes.
2022-02-08 09:21:03 -04:00
Sgn-32
d0ca769351
Remove unused class RedPhoneEvent.
2022-02-08 09:21:03 -04:00
Fumiaki Yoshimatsu
a090b07b1c
Receive results to the permission request issued from the fragment.
...
Fixes #11808
2022-02-08 09:21:03 -04:00
Greyson Parrelli
178f5e80e3
Fix ID remapping issues when getting group membership.
2022-02-08 09:21:03 -04:00
Greyson Parrelli
d7bf4f178f
Prevent us from ever having no default transport option.
2022-02-08 09:21:03 -04:00
Greyson Parrelli
dd9632da5b
Do not include group updates in message search results.
2022-02-08 09:21:03 -04:00
bim
e235ec4129
Fix bug in name rendering on verify screen.
...
Fixes #11770
2022-02-08 09:21:03 -04:00
Greyson Parrelli
988728be3e
Do not allow SMS and Signal messages to cluster.
...
Fixes #9214
2022-02-08 09:21:03 -04:00
Jim Gustafson
e2d86067cc
Update to RingRTC v2.18.0
2022-02-08 09:21:03 -04:00
Greyson Parrelli
d19cba049d
Fix reaction mms trigger.
2022-02-07 15:47:46 -05:00
Rashad Sookram
19ed3cb9ea
Fix message gradient when selected.
2022-02-07 12:00:12 -05:00
Alex Hart
cbb23b3d6c
Close out search if new intent does not request it.
...
Fixes #11946
2022-02-07 12:31:04 -04:00
Cody Henthorne
3c8c04d9e5
Hide change number if unregistered.
2022-02-07 09:29:47 -05:00
Alex Hart
c3b792e4cf
Add nullability check for requireContext.
2022-02-07 10:12:03 -04:00
Greyson Parrelli
ec34604ffc
Fix bug where GV1 storageIds were excluded from set.
2022-02-04 19:26:14 -05:00
Cody Henthorne
8af7c5043a
Fix bug with sending after safety number changes.
2022-02-04 17:33:32 -05:00
Cody Henthorne
de1fbcf696
Tweak release note channel requirements for showing.
2022-02-04 16:53:43 -05:00
Rashad Sookram
c4c43ee958
Show reactions above selected message.
2022-02-04 16:11:36 -05:00
Rashad Sookram
959bbdae6c
Improve UI for context menu in chat.
2022-02-04 14:25:49 -05:00
Cody Henthorne
9f474fadf4
Fix message sending to self for group call messages.
2022-02-04 14:23:29 -05:00
Cody Henthorne
007e8a9dca
Fix crash with sticker availability change.
2022-02-04 14:20:15 -05:00
Greyson Parrelli
b081452bed
Prevent possible requireContext() crash when updating link preview.
2022-02-04 09:38:30 -05:00
Cody Henthorne
a05776551f
Fix sending reactions to note to self.
2022-02-03 17:12:30 -05:00
Rashad Sookram
24a875c73a
Improve showing context menu with keyboard open.
2022-02-03 17:06:17 -05:00
Alex Hart
f0414922be
Fix a couple issues with fragmentization refactor.
...
* Fix a crash from detached fragment.
* Fix sticker search sends.
2022-02-03 14:48:52 -04:00
Alex Hart
bfae20941a
Add permission result handler to ConversationListFragment.
2022-02-03 14:41:11 -04:00
Cody Henthorne
be47e9e928
Fix NPE when receiving media only MMS.
2022-02-03 08:48:36 -05:00
Cody Henthorne
92978b0e3f
Fix permission crash with new networking check on API<23.
2022-02-02 19:40:22 -05:00
Cody Henthorne
bf28dfee66
Add test for double encoded html in link preview tags.
2022-02-02 16:50:58 -05:00
Cody Henthorne
f091502949
Use newer APIs for detecting network changes.
2022-02-02 16:50:58 -05:00
Anurag Pathak
9b0dec7ece
Fix HTML unescaped encoded entities in link preview issue.
2022-02-02 16:50:58 -05:00
Björn Spindel
39169784b0
Match desktop and iOS and order stickers by id.
2022-02-02 16:50:58 -05:00
Cody Henthorne
8348badcd6
Periodically fetch release notes.
2022-02-02 16:50:58 -05:00
Ducros Alix
9114dc83d7
Add missing character to Greek regex.
2022-02-02 16:50:58 -05:00
Alex Hart
87608c6d3a
Do not change convo status bar color on API<23
2022-02-02 16:50:58 -05:00
Angus Turnbull
5acbe260e9
Replace GMS utility function.
...
Fixes #11392
2022-02-02 16:50:58 -05:00
Cody Henthorne
5e31eb5565
Fix re-pin out of order bug.
...
Fixes #11927
2022-02-02 16:50:58 -05:00
Cody Henthorne
7a241e5fb5
Use group state paging always.
2022-02-02 16:50:58 -05:00
Cody Henthorne
7e299157ec
Fix crash when entering chats on devices with odd security enforcement.
2022-02-02 16:50:58 -05:00
Cody Henthorne
1b1001b0e9
Add UI components for Release Channel.
2022-02-02 16:50:58 -05:00
Rashad Sookram
45a91e0896
Update context menu with tweaks from design.
2022-02-01 13:41:31 -05:00
Fumiaki Yoshimatsu
91c7e0a0ee
Exclude the recycler view from the transition because the transition could interfere with the recycler recycling an item view that is included in the transition. The app crashes when it happens.
...
Fixes #11722
2022-02-01 13:41:31 -05:00
Fumiaki Yoshimatsu
1a1213d043
Listen to a broadcast until a shortcut was actually created before popping up a toast.
...
Fixes #10743
2022-02-01 13:41:31 -05:00