Add profile

This commit is contained in:
2025-08-22 15:51:32 +03:00
Unverified
parent 803f685180
commit deb02a5e95
25 changed files with 885 additions and 116 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ def convert_message(msg: Message) -> dict:
"content": msg.content,
"timestamp": msg.timestamp.isoformat(),
"is_read": msg.is_read,
"username": msg.author.username
"username": msg.author.username,
"profile_picture": msg.author.profile_picture
}
async def get_messages_inner(db: Session):