fix xmpp uri links that have a aditional chars after join
for example xmpp:foo@bar.tld?join,
This commit is contained in:
parent
e0965a2bf2
commit
179beb15e0
|
@ -166,7 +166,7 @@ public class XmppUri {
|
|||
private boolean hasAction(String query, String action) {
|
||||
for (String pair : query == null ? new String[0] : query.split(";")) {
|
||||
final String[] parts = pair.split("=", 2);
|
||||
if (parts.length == 1 && parts[0].equals(action)) {
|
||||
if (parts.length == 1 && parts[0].toLowerCase(Locale.US).startsWith(action)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue