From c6b0a19171574d19945c83551d1a365c72aad487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 12 Aug 2020 17:17:56 +0200 Subject: [PATCH] base: Fix a stale docstring. --- matrix_sdk_base/src/client.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index 7d7c9a3d..cb27ba24 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -703,8 +703,11 @@ impl BaseClient { /// Receive a timeline event for a joined room and update the client state. /// - /// Returns a tuple of the successfully decrypted event, or None on failure and - /// a bool, true when the `Room` state has been updated. + /// Returns a bool, true when the `Room` state has been updated. + /// + /// This will in-place replace the event with a decrypted one if the + /// encryption feature is turned on, the event is encrypted and if we + /// successfully decrypted the event. /// /// # Arguments ///