diff --git a/src/calls.rs b/src/calls.rs index 95b2f7d7c..4c2ece189 100644 --- a/src/calls.rs +++ b/src/calls.rs @@ -183,7 +183,11 @@ impl Context { place_call_info: String, ) -> Result { let chat = Chat::load_from_db(self, chat_id).await?; - ensure!(chat.typ == Chattype::Single && !chat.is_self_talk()); + ensure!( + chat.typ == Chattype::Single, + "Can only place calls in 1:1 chats" + ); + ensure!(!chat.is_self_talk(), "Cannot call self"); let mut call = Message { viewtype: Viewtype::Call,