Add comments under posts and fix user profile

This commit is contained in:
Marco Realacci 2022-12-12 18:06:56 +01:00
parent 4c4481393d
commit e86526761c
13 changed files with 201 additions and 42 deletions

View file

@ -103,6 +103,7 @@ func (db *appdbimpl) GetComments(uid string, photo_id int64, requesting_uid stri
AND "bans"."ban" = ?
)
AND "u"."uid" = "c"."user"
ORDER BY "c"."date" DESC
LIMIT ?
OFFSET ?`, photo_id, requesting_uid, limit, start_index)