}
/**
- * 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));
}