1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Can get the list of memberships of a user

This commit is contained in:
2020-07-13 11:17:35 +02:00
parent 59961129c5
commit b5bcb3e8c7
10 changed files with 160 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
//! # User membership
//!
//! @author Pierre Hubert
use crate::data::friend::Friend;
use crate::data::conversation::Conversation;
use crate::data::group_id::GroupID;
pub enum UserMembership {
Group(GroupID, u64),
Friend(Friend),
Conversation(Conversation)
}