mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-20 16:35:17 +00:00
Add new field in conversation members table to ease database access
This commit is contained in:
@ -11,6 +11,7 @@ use crate::helpers::calls_helper;
|
||||
struct ConversationMembersAPI {
|
||||
user_id: u64,
|
||||
last_message_seen: u64,
|
||||
last_access: u64,
|
||||
following: bool,
|
||||
is_admin: bool,
|
||||
}
|
||||
@ -37,6 +38,7 @@ impl ConversationMembersAPI {
|
||||
last_message_seen: m.last_message_seen,
|
||||
following: m.following,
|
||||
is_admin: m.is_admin,
|
||||
last_access: m.last_access,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user