1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-07-16 04:08:04 +00:00

Fix issues

This commit is contained in:
2021-03-06 19:00:04 +01:00
parent bb6fa6954f
commit 4265d2ca9d
2 changed files with 15 additions and 22 deletions

@ -2,8 +2,10 @@
//!
//! @author Pierre Huber
use crate::data::user::UserID;
use std::collections::HashSet;
use crate::data::group_id::GroupID;
use crate::data::user::UserID;
#[derive(Debug)]
pub struct NewConversation {
@ -13,6 +15,6 @@ pub struct NewConversation {
pub color: Option<String>,
pub logo: Option<String>,
pub owner_following: bool,
pub members: Vec<UserID>,
pub can_everyone_add_members: bool
pub members: HashSet<UserID>,
pub can_everyone_add_members: bool,
}