allow any non letter for SMS to ignore command
This commit is contained in:
parent
1eea170ead
commit
9e2cb7d047
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ public class SmsCommunicatorPlugin extends PluginBase {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: // expect passCode here
|
default: // expect passCode here
|
||||||
if (splited[0].startsWith("#")) {
|
if (!Character.isLetter(splited[0].charAt(0))) {
|
||||||
// user text .... ignore
|
// user text .... ignore
|
||||||
} else if (messageToConfirm != null) {
|
} else if (messageToConfirm != null) {
|
||||||
messageToConfirm.action(splited[0]);
|
messageToConfirm.action(splited[0]);
|
||||||
|
|
Loading…
Reference in a new issue