mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-01 00:18:50 +00:00
Reformat code
This commit is contained in:
parent
856d22fed8
commit
203a947122
@ -153,6 +153,7 @@ pub fn set_members(conv_id: u64, new_list: &Vec<UserID>, can_delete: bool) -> Re
|
|||||||
add_member(conv_id, member.clone(), true)?;
|
add_member(conv_id, member.clone(), true)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove a member
|
||||||
if can_delete {
|
if can_delete {
|
||||||
for member in curr_list {
|
for member in curr_list {
|
||||||
if new_list.contains(&member) {
|
if new_list.contains(&member) {
|
||||||
|
Loading…
Reference in New Issue
Block a user