mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
crypto: Allow that many arguments on the from_pickle session method.
This commit is contained in:
@@ -196,6 +196,7 @@ impl Session {
|
||||
///
|
||||
/// * `last_use_time` - The timestamp that marks when the session was
|
||||
/// last used to encrypt or decrypt an Olm message.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn from_pickle(
|
||||
user_id: Arc<UserId>,
|
||||
device_id: Arc<Box<DeviceId>>,
|
||||
|
||||
Reference in New Issue
Block a user