diff --git a/ObjectBrowser.cs b/ObjectBrowser.cs index 3c8f5c6..dc5674a 100644 --- a/ObjectBrowser.cs +++ b/ObjectBrowser.cs @@ -227,7 +227,7 @@ private void btnGetOwned_Click(object sender, EventArgs e) string profileCheck = txtSearchAddress.Text; - PROState searchprofile = PROState.GetProfileByAddress(txtSearchAddress.Text, txtLogin.Text, txtPassword.Text, txtUrl.Text); + PROState searchprofile = PROState.GetProfileByAddress(txtSearchAddress.Text.Replace("@", ""), txtLogin.Text, txtPassword.Text, txtUrl.Text); if (searchprofile.URN != null) { @@ -238,7 +238,7 @@ private void btnGetOwned_Click(object sender, EventArgs e) { - searchprofile = PROState.GetProfileByURN(txtSearchAddress.Text, txtLogin.Text, txtPassword.Text, txtUrl.Text); + searchprofile = PROState.GetProfileByURN(txtSearchAddress.Text.Replace("@", ""), txtLogin.Text, txtPassword.Text, txtUrl.Text); if (searchprofile.URN != null) { @@ -364,7 +364,7 @@ private async void btnGetCreated_Click(object sender, EventArgs e) string profileCheck = txtSearchAddress.Text; - PROState searchprofile = PROState.GetProfileByAddress(txtSearchAddress.Text, txtLogin.Text, txtPassword.Text, txtUrl.Text); + PROState searchprofile = PROState.GetProfileByAddress(txtSearchAddress.Text.Replace("@", ""), txtLogin.Text, txtPassword.Text, txtUrl.Text); if (searchprofile.URN != null) { @@ -375,7 +375,7 @@ private async void btnGetCreated_Click(object sender, EventArgs e) { - searchprofile = PROState.GetProfileByURN(txtSearchAddress.Text, txtLogin.Text, txtPassword.Text, txtUrl.Text); + searchprofile = PROState.GetProfileByURN(txtSearchAddress.Text.Replace("@", ""), txtLogin.Text, txtPassword.Text, txtUrl.Text); if (searchprofile.URN != null) {