Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it clear what needs to be shared #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chat/ChatProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ module.exports = function (web, accountRepository, profileRepository, ridesRepos
request: REQUEST_PROFILE
});
device.sendMessageToDevice(deviceAddress, "text",
"Please insert your profile address attested by the real name attestor. " +
"Please insert your wallet address, which is attested by the real name attestor " +
"or insert your private profile, which has first name, last name and ID type. " +
"Tip: use your drivers license to become a verified driver.");

callback();
Expand Down
2 changes: 1 addition & 1 deletion chat/ProfileHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ String.prototype.toCamelCase = function () {
const ATTESTORS = new Map();
const REALNAME = {
name: "Real Name Attestor",
privateProfileRequest: "Please share your first and last name [Profile request](profile-request:first_name,last_name,id_type)",
privateProfileRequest: "Please share your profile [Profile request](profile-request:first_name,last_name,id_type)",
validate(profile) {
return profile && typeof profile === "object" && typeof profile.first_name === "string" && typeof profile.last_name === "string" && typeof profile.id_type === "string"
},
Expand Down