hello,
Sorry for calling it bug, I just think it is a bug. You will decide if it is a bug for sure
platform:
jomsocial v4.0.2
jfbconnect v6.3
browser: mozilla (i didn`t try it for other browsers)
information:
userA: registered user via regular register (not via facebook)
userB: registered user via facebook
userC: any other registered user (registration method doesn`t matter)
userA. userB and userC have different e-mail addresses.
scenario:
1. browse userC`s profile directly in jomsocial without logging in
2. try to send message to userC. since you are not logged in, jomsocial v4.0.2 will pop up an ajax login box with jfbconnect button on it. don`t log in just keep it there.
3. open a new tab from the same browser. and go to site`s homepage.
4. login the site via userA`s credentials. now you are logged in to the site as userA.
5. open the previous browser tab, ajax login pop up is still there.
6. click login with facebook and enter userB`s facebook login credentials.
7. you will receive a message that profile is linked.
Result: Yes userA and userB profiles are linked in this case. users` emails don`t change. but userA`s avatar, user status and birthday is imported from userB. and may be more fields.