mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +01:00
Fixed problem parsing the server name of addresses with this format <domain>
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2395 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
c4e971c350
commit
8704d5ac7b
1 changed files with 0 additions and 3 deletions
|
@ -105,9 +105,6 @@ public class StringUtils {
|
|||
if (atIndex + 1 > XMPPAddress.length()) {
|
||||
return "";
|
||||
}
|
||||
if (atIndex < 0) {
|
||||
atIndex = 0;
|
||||
}
|
||||
int slashIndex = XMPPAddress.indexOf("/");
|
||||
if (slashIndex > 0) {
|
||||
return XMPPAddress.substring(atIndex + 1, slashIndex);
|
||||
|
|
Loading…
Reference in a new issue