Update the POLL command's documentation
[fonbot.git] / src / ro / ieval / fonbot / Heavy.java
index fadf42c7f40184c9bc818507d0378d9d20aafc46..14b729deffd84d35f22a8cd3fcc32b31e7ece370 100644 (file)
@@ -1654,13 +1654,13 @@ final class Heavy {
        }
 
        /**
-        * Poll the server for pending commands.
+        * Start long polling if stopped
         *
         * @param context Context instance
         * @param replyTo reply Address
         */
        public static void poll(final Context context, final Address replyTo) {
-               Utils.sendMessage(context, replyTo, polling_server);
+               Utils.sendMessage(context, replyTo, starting_long_polling_if_stopped);
                context.startService(new Intent(context, FonBotMainService.class));
        }
 
This page took 0.009513 seconds and 4 git commands to generate.