allow any non letter for SMS to ignore command

This commit is contained in:
Milos Kozak 2019-03-08 23:01:33 +01:00
parent 1eea170ead
commit 9e2cb7d047

View file

@ -477,7 +477,7 @@ public class SmsCommunicatorPlugin extends PluginBase {
}
break;
default: // expect passCode here
if (splited[0].startsWith("#")) {
if (!Character.isLetter(splited[0].charAt(0))) {
// user text .... ignore
} else if (messageToConfirm != null) {
messageToConfirm.action(splited[0]);