mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Add profile
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user