From 57651aaf2d7e05c5cc36eb586e7c1dc246c44301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sun, 21 Aug 2016 21:53:21 +0200 Subject: [PATCH] Fixed for phones For some reason, bot messages sent from phones are different in the session than skypeforweb and skypeforlinux. --- dodsorfas/Skypebot/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dodsorfas/Skypebot/helper.js b/dodsorfas/Skypebot/helper.js index 8490ff5..dd6cf08 100644 --- a/dodsorfas/Skypebot/helper.js +++ b/dodsorfas/Skypebot/helper.js @@ -5,5 +5,5 @@ exports.send = function(session, texta) { } exports.regex = function(command) { - return RegExp ("^(Dodsorbot<\\/at>\\s)?(" + command + ")", "i"); + return RegExp ("^((Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i"); } \ No newline at end of file