crypto: Allow that many arguments on the from_pickle session method.

master
Damir Jelić 2020-07-21 12:57:31 +02:00
parent c3f00c96f8
commit 451d902604
1 changed files with 1 additions and 0 deletions

View File

@ -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>>,