mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
* update github content * update comparison * update link * move message_views.sql to scripts * move section * move news section * typos Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com> * update readme * update readme * update readme Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
697 B
697 B
Include (Optional) Images in User Profiles
-
Add SQL migration for database in
src/Simplex/Chat/Migrations
- This will touch
contact_profiles
andgroup_profiles
- This will touch
-
Add field to
User
inTypes.hs
allowing for null entry usingMaybe
-
Extend parsing in
Chat.hs
underchatCommandP :: Parser ChatCommand
-
Update
UpdateProfile
inChat.hs
to accept possible display picture and implement anAPIUpdateProfile
command which accepts a JSON string/_profile{...}
which will add the image to a profile. -
Connect up to Android and iOS apps (new PRs)
Profile images will be base 64 encoded images. We can use the base64P
parser to process them and pass them as JSON.