Skip to content

Commit bda5084

Browse files
committed
feat(ffi): Add an actual ffi::TimelineEventType enum with only the type
Use that for `RoomPowerLevels::events` instead.
1 parent 801c09e commit bda5084

File tree

4 files changed

+281
-8
lines changed

4 files changed

+281
-8
lines changed

Cargo.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/matrix-sdk-ffi/Cargo.toml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,30 @@ matrix-sdk-ffi-macros.workspace = true
6565
matrix-sdk-ui = { workspace = true, features = ["uniffi"] }
6666
mime = "0.3.17"
6767
once_cell.workspace = true
68-
ruma = { workspace = true, features = ["html", "unstable-msc3488", "compat-unset-avatar", "unstable-msc3245-v1-compat", "unstable-msc4278"] }
68+
ruma = { workspace = true, features = [
69+
"html",
70+
"unstable-msc3488",
71+
"compat-unset-avatar",
72+
"unstable-msc3245-v1-compat",
73+
"unstable-msc4278",
74+
"unstable-msc3230",
75+
# Audio event type
76+
"unstable-msc3927",
77+
# File event type
78+
"unstable-msc3551",
79+
# Image event type
80+
"unstable-msc3552",
81+
# Video event type
82+
"unstable-msc3553",
83+
# Voice event type
84+
"unstable-msc3245",
85+
# Emote event type
86+
"unstable-msc3954",
87+
# Image pack event type
88+
"unstable-msc2545",
89+
# Room language event type
90+
"unstable-msc4334",
91+
] }
6992
serde.workspace = true
7093
serde_json.workspace = true
7194
sentry = { workspace = true, optional = true, default-features = false, features = [

0 commit comments

Comments
 (0)