migrate old users
this tab only for users already there apps on production (then have build there system and want to add this chat system)
- after you finish the server installation you want to migrate the old users to vchat system
- copy all users thumb images from your system to
v_chat_sdk_backend/public/profile - in
.envenableENABLE_MIGRATE_OLD_USERS=true - build script by your backend system and call this api
POST{{baseUrl}}user/migrate-old-users - Send data as json format
JSON.stringify([{},{}])to the body
[
{
"email":"",
"name":"",
"image":""
} ,
{
"email":"",
"name":"",
"image":"default" //for use default image if user has not image
}
]
- if user image ==
nullpass itdefaultv chat will use default user image for it