Marco Romano
5a7f77bc92
Extract more content from audio messages. ( #1607 )
...
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.
`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
11 months ago
Benoit Marty
21e24990c4
Improve and fix build_rust_sdk.sh after PR review
11 months ago
Benoit Marty
cc2664c519
Use local SDK if the file exist
11 months ago
ganfra
76bbe4dbeb
Misc: remove usage of blocking methods #1563
11 months ago
renovate[bot]
054d0a7145
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62 ( #1562 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62
* Add `sendVoiceMessage()` API from https://github.com/matrix-org/matrix-rust-sdk/pull/2697
* Fix other breaking changes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
11 months ago
Benoit Marty
7389748f3e
Konsist: add rule obout test class name, and fix existing issue
11 months ago
Benoit Marty
8c2a5f281b
MessageContent.type cannot be null
11 months ago
Benoit Marty
1b0e044565
Move `OtherState` to its own file.
11 months ago
Benoit Marty
8482e2da6f
Move `FormattedBody` to its own file.
11 months ago
Benoit Marty
d8a30f30c5
Move `MembershipChange` to its own file.
11 months ago
Benoit Marty
4c97a63cd3
Move `MessageFormat` to its own file.
11 months ago
Benoit Marty
9cb8537c4e
Move `MessageType` to its own file.
11 months ago
Benoit Marty
2962032fe5
Move `InReplyTo` to its own file.
11 months ago
Benoit Marty
97fea4e6dd
data object
12 months ago
Benoit Marty
6be984efc8
Do not restore session with invalid token.
12 months ago
Benoit Marty
124d6bf95f
SignedOut mode - WIP
12 months ago
Benoit Marty
8305912b14
Map the new fields of `SessionData`.
12 months ago
Benoit Marty
70cdb4a2fc
Fix compilation warning in tests.
12 months ago
Jorge Martin Espinosa
776d935cfa
Add more tests, particularly to the room list diffing ( #1508 )
...
* Add more tests to improve the covered area, particularly the room list diffing
12 months ago
Jorge Martin Espinosa
6a7713a6f8
Improve coverage in permalinks package ( #1502 )
...
* Improve coverage in permalinks package
12 months ago
Benoit Marty
0edf53de5f
Convert `object` to `data object`
12 months ago
Benoit Marty
34d05e01eb
Fetch edited event in advanced (similar to reply mode).
12 months ago
Marco Romano
8f3987b98c
Destroy EventTimelineItem pointer after use
12 months ago
Marco Romano
3a49ab984c
Handle breaking change in `innerRoom.edit()`
12 months ago
Marco Romano
fc205698c6
Display poll notifications in the notification drawer ( #1467 )
...
Display notifications for polls as if they were message events.
12 months ago
Benoit Marty
37249261e1
Add test for `MatrixClientsHolder`
12 months ago
ganfra
74735605e4
Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
12 months ago
Benoit Marty
c9c7af6e06
Simplify the management of `inReplyToEventTimelineItem`
12 months ago
Benoit Marty
a192a8823f
Ensure `getEventTimelineItemByEventId` is called when we enter in reply mode.
12 months ago
Benoit Marty
cf657df5fd
Fix API break with Matrix SDK 0.1.58.
12 months ago
Benoit Marty
34631f53b3
Avoid hard-coded string.
12 months ago
Marco Romano
f81a4bf0f8
Upgrade Rust SDK to v0.1.57 ( #1401 )
...
- Enables polls in room summaries from https://github.com/vector-im/element-x-android/pull/1387
- Accommodates a few breaking changes
1 year ago
Marco Romano
e4c78a2489
Properly format lastMessage when it belongs to a poll. ( #1387 )
...
Takes care of properly formatting a room's last message when it belongs to a poll.
NB: Polls still aren't exposed as a room's `last_message` from the rust SDK, so this code won't actually run yet. This will happen after integrating rust SDK version 0.1.57 which includes: https://github.com/matrix-org/matrix-rust-sdk/pull/2580
1 year ago
ganfra
4883b63762
Remove usage of async-uniffi as it leads to a deadlocks and memory leaks ( #1381 )
1 year ago
ganfra
c3df84cb7b
Fix warning and yield
1 year ago
ganfra
0bd6ba0984
Fix room member infinite loop
1 year ago
ganfra
6746bf5d44
RoomList : fix ANR ( #1370 )
1 year ago
Marco Romano
0d05df0651
Upgrade rust sdk to .55 ( #1365 )
...
Accomodates breaking changes.
1 year ago
David Langley
6497d2184f
Add test.
1 year ago
ganfra
e73afad96c
RoomSummary: RoomListEntry.Invalidated should not build empty room summary
1 year ago
ganfra
bc68d47d1f
Update rust-sdk to 0.1.54
1 year ago
Benoit Marty
27e567e6f4
Fix the test.
1 year ago
Benoit Marty
f7f9a78101
Cleanup and compact code. Also prefer usage of DayNightPreview.
1 year ago
Jorge Martín
98bb91cd27
Create tests
1 year ago
Benoit Marty
2e9cc25759
Log the tag if present.
1 year ago
Jorge Martín
2ccafec564
Changes:
...
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
1 year ago
Jorge Martín
149677a2e6
Add preference screen for user profile
1 year ago
David Langley
4a3ffd37fb
Use userDefinedNotificationMode.
1 year ago
ganfra
7914ec0a28
Update rust sdk to 0.1.53
1 year ago
David Langley
7a7cc2692e
Fix test compilation
1 year ago