Skip to content

Commit e72feff

Browse files
authored
docs(bindings): Fix return type documentation for get_missing_sessions
1 parent 1a78b77 commit e72feff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/machine.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,8 @@ impl OlmMachine {
517517
/// Get the a key claiming request for the user/device pairs that
518518
/// we are missing Olm sessions for.
519519
///
520-
/// Returns `NULL` if no key claiming request needs to be sent
521-
/// out, otherwise it returns an `Array` where the first key is
522-
/// the transaction ID as a string, and the second key is the keys
523-
/// claim request serialized to JSON.
520+
/// Returns `null` if no key claiming request needs to be sent
521+
/// out, otherwise it returns a `KeysClaimRequest` object.
524522
///
525523
/// Sessions need to be established between devices so group
526524
/// sessions for a room can be shared with them.

0 commit comments

Comments
 (0)