Fixed search current user issue

This commit is contained in:
Mustafa Buyukcelebi 2019-02-26 12:37:14 +03:00
parent 02d6d8bdba
commit 0fe3063eae

View File

@ -56,7 +56,7 @@ class ProfileContainer extends Component {
return;
}
if (selectedUser && selectedUser.username) {
if (selectedUser && selectedUser.username && selectedUser.username !== currentAccount.name) {
this._loadProfile(selectedUser.username);
if (selectedUser.username) {