Add follow status to GetUserProfile

This commit is contained in:
Marco Realacci 2022-11-22 17:48:15 +01:00
parent 9968f9e66f
commit 09adc06e18
4 changed files with 9 additions and 3 deletions

View file

@ -65,7 +65,7 @@ type AppDatabase interface {
LikePhoto(uid string, photo int64, liker_uid string) (QueryResult, error)
UnlikePhoto(uid string, photo int64, liker_uid string) (QueryResult, error)
GetUserProfile(uid string) (QueryResult, *structures.UserProfile, error)
GetUserProfile(uid string, requesting_uid string) (QueryResult, *structures.UserProfile, error)
GetUserPhotos(uid string, start_index int, limit int) (*[]structures.UserPhoto, error)
GetUserStream(uid string, start_index int, limit int) (*[]structures.Photo, error)