diff --git a/src/chat.rs b/src/chat.rs
index 2d8a4ce11..181991e19 100644
--- a/src/chat.rs
+++ b/src/chat.rs
@@ -926,7 +926,7 @@ impl ChatId {
pub async fn set_encryption_modus(
self,
context: &Context,
- modus: &EncryptionModus,
+ modus: EncryptionModus,
) -> Result<()> {
context
.sql
@@ -941,7 +941,7 @@ impl ChatId {
/// This sets a protection modus for the chat and enforces that messages are only send if they
/// meet the encryption modus (ForcePlaintext, Opportunistic, ForceEncrypted, ForceVerified)
- pub async fn get_encryption_modus(self, context: &Context) -> Result