AiursoftWeb / Kahla.App

Kahla is a cross-platform business messaging app.
https://www.kahla.app
MIT License
415 stars 85 forks source link

Display the users' primary email in his profile page. #224

Closed Anduin2017 closed 5 years ago

Anduin2017 commented 5 years ago

Ohhh, I mean, display the email of the person you are viewing. Not only your own email. For users' primary email is public and we usually need that to verify his identity.

I guess we can add a Validated badge on his email if his email was validated by us so that user can trust the conversation.

Anduin2017 commented 5 years ago

@ganlvtech @l2dy How do you like that?

l2dy commented 5 years ago

Ohhh, I mean, display the email of the person you are viewing. Not only your own email. For users' primary email is public and we usually need that to verify his identity.

Primary email should not be made public by default, we have enough spam in our mailboxes already. It can be made opt-in though.

Anduin2017 commented 5 years ago

Agree. So we can make it a switchable option that if the user wanna make his primary email public.

Anduin2017 commented 5 years ago

I have modified our Kahla API that supports to set if the user wanna hides his primary email in Kahla.

By default, that option was true which means that his email was open to everyone. The same design with GitHub.

The user shall be able to update his profile settings to hide his primary email. If he changed that option, everywhere the server returns the object of the user will hide his email.

https://wiki.aiursoft.com/ReadDoc/Kahla/Auth.md#UpdateInfo

l2dy commented 5 years ago

By default, that option was true which means that his email was open to everyone. The same design with GitHub.

AFAIK, GitHub enables email privacy by default.