From 7f81bc21c6948eb8ddb176d717c0756d1ee880e7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 5 Apr 2021 14:09:08 +0200 Subject: [PATCH] Fix bad refactoring --- src/controllers/groups_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/groups_controller.rs b/src/controllers/groups_controller.rs index e584dcb..0579fbd 100644 --- a/src/controllers/groups_controller.rs +++ b/src/controllers/groups_controller.rs @@ -43,7 +43,7 @@ impl HttpRequestHandler { let conv = conversations_helper::get_single(conv_membership.conv_id)?; if !conv.is_linked_to_group() { - self.bad_request("This conversation is not linked to a group, it can not be deleted this way!".to_string())?; + self.bad_request("This conversation is not linked to a group, it can not be updated this way!".to_string())?; } Ok(conv)