ignore SMS starting #

This commit is contained in:
Milos Kozak 2018-10-14 11:58:19 +02:00
parent bedb79c461
commit cc25520770

View file

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