1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Fix bad refactoring

This commit is contained in:
Pierre HUBERT 2021-04-05 14:09:08 +02:00
parent 8372e37937
commit 7f81bc21c6

View File

@ -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)