crypto: Remove an unused argument.
parent
48f43a4af1
commit
f735107caf
|
@ -377,7 +377,6 @@ impl VerificationMachine {
|
|||
private_identity,
|
||||
d,
|
||||
self.store.clone(),
|
||||
&e.sender,
|
||||
e.content.clone(),
|
||||
self.store.get_user_identity(&e.sender).await?,
|
||||
) {
|
||||
|
|
|
@ -313,7 +313,6 @@ impl RequestState<Ready> {
|
|||
private_identity,
|
||||
other_device,
|
||||
store,
|
||||
&event.sender,
|
||||
(event.room_id.clone(), event.content.clone()),
|
||||
other_identity,
|
||||
)
|
||||
|
|
|
@ -19,7 +19,7 @@ use std::sync::Arc;
|
|||
|
||||
use matrix_sdk_common::{
|
||||
events::{key::verification::cancel::CancelCode, AnyMessageEvent, AnyToDeviceEvent},
|
||||
identifiers::{EventId, RoomId, UserId},
|
||||
identifiers::{EventId, RoomId},
|
||||
};
|
||||
|
||||
use crate::{
|
||||
|
@ -82,7 +82,6 @@ impl InnerSas {
|
|||
pub fn from_start_event(
|
||||
account: ReadOnlyAccount,
|
||||
other_device: ReadOnlyDevice,
|
||||
sender: &UserId,
|
||||
content: impl Into<StartContent>,
|
||||
other_identity: Option<UserIdentities>,
|
||||
) -> Result<InnerSas, CancelContent> {
|
||||
|
|
|
@ -223,14 +223,12 @@ impl Sas {
|
|||
private_identity: PrivateCrossSigningIdentity,
|
||||
other_device: ReadOnlyDevice,
|
||||
store: Arc<Box<dyn CryptoStore>>,
|
||||
sender: &UserId,
|
||||
content: impl Into<StartContent>,
|
||||
other_identity: Option<UserIdentities>,
|
||||
) -> Result<Sas, OutgoingContent> {
|
||||
let inner = InnerSas::from_start_event(
|
||||
account.clone(),
|
||||
other_device.clone(),
|
||||
&sender,
|
||||
content,
|
||||
other_identity.clone(),
|
||||
)?;
|
||||
|
|
Loading…
Reference in New Issue