Skip to content

Commit

Permalink
feat(knock): update API to use reason and serverNames
Browse files Browse the repository at this point in the history
  • Loading branch information
BillCarsonFr committed Oct 24, 2024
1 parent 7e17d24 commit 4f3ccf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class RustMatrixClient(
sessionDispatcher
) {
runCatching {
client.knock(roomIdOrAlias.identifier).destroy()
client.knock(roomIdOrAlias.identifier, message, serverNames).destroy()
try {
awaitRoom(roomIdOrAlias, 10.seconds, CurrentUserMembership.KNOCKED)
} catch (e: Exception) {
Expand Down

0 comments on commit 4f3ccf3

Please sign in to comment.