diff --git a/apps/freenet-email-app/web/src/inbox.rs b/apps/freenet-email-app/web/src/inbox.rs index ce8db4572..69eb83037 100644 --- a/apps/freenet-email-app/web/src/inbox.rs +++ b/apps/freenet-email-app/web/src/inbox.rs @@ -181,7 +181,7 @@ impl DecryptedMessage { } .try_into() .map_err(|e| format!("{e}"))?; - let inbox_key = !::from_params(INBOX_CODE_HASH, params).map_err(|e| format!("{e}"))?; + let inbox_key = ContractKey::from_params(INBOX_CODE_HASH, params).map_err(|e| format!("{e}"))?; AftRecords::pending_assignment(delegate_key, inbox_key.clone()); PENDING_INBOXES_UPDATE.with(|map| {