1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-07-13 19:08:05 +00:00

Get more accurate info

This commit is contained in:
2021-02-05 14:55:19 +01:00
parent 5c3bbfcfaa
commit 4a968b3d6f
3 changed files with 21 additions and 1 deletions

View File

@ -22,7 +22,7 @@ impl FriendAPI {
FriendAPI {
ID_friend: f.friend_id.id(),
accepted: LegacyBool(f.accepted),
time_last_activity: f.last_activity_time,
time_last_activity: f.computed_last_activity_time(),
following: LegacyBool(f.following),
canPostTexts: f.can_post_texts,
}