added room invite button in rooms that should have it

This commit is contained in:
2025-12-31 15:44:45 +01:00
parent 6bd1921806
commit fb4e827b12
4 changed files with 101 additions and 18 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ async fn list_messages(
if !is_member(user_id, room_id, &db).await {
return Err((
StatusCode::UNAUTHORIZED,
StatusCode::FORBIDDEN,
String::from("You are not a member of this room"),
));
}