1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 16:35:17 +00:00

Can get the list of friends

This commit is contained in:
2020-06-29 15:45:26 +02:00
parent bef9dfffbc
commit 3af2a6f58d
8 changed files with 103 additions and 5 deletions

13
src/data/friend.rs Normal file
View File

@ -0,0 +1,13 @@
//! # Friend information
//!
//! @author Pierre Hubert
use crate::data::user::UserID;
pub struct Friend {
pub friend_id: UserID,
pub accepted: bool,
pub following: bool,
pub last_activity_time: u64,
pub can_post_texts: bool,
}

View File

@ -16,4 +16,5 @@ pub mod group_id;
pub mod group;
pub mod new_group;
pub mod group_member;
pub mod global_search_result;
pub mod global_search_result;
pub mod friend;