We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
m.room.member
1 parent a4bd36c commit 8eb7264Copy full SHA for 8eb7264
crates/matrix-sdk/src/latest_events/latest_event.rs
@@ -1267,6 +1267,21 @@ mod tests_latest_event_content {
1267
is not a candidate
1268
);
1269
}
1270
+
1271
+ #[test]
1272
+ fn test_invite() {
1273
+ use ruma::events::room::member::MembershipState;
1274
1275
+ assert_latest_event_content!(
1276
+ event | event_factory | {
1277
+ event_factory
1278
+ .member(user_id!("@mnt.io:matrix.org"))
1279
+ .membership(MembershipState::Invite)
1280
+ .into_event()
1281
+ }
1282
+ is a candidate
1283
+ );
1284
1285
1286
1287
#[cfg(test)]
0 commit comments