TnyDevice *device = modest_runtime_get_device ();
if (!tny_device_is_online (device))
modest_platform_connect_and_perform (NULL, FALSE, NULL, on_send_receive_performer, NULL);
else
on_send_receive_performer (FALSE, NULL, NULL, NULL, NULL);
TnyDevice *device = modest_runtime_get_device ();
if (!tny_device_is_online (device))
modest_platform_connect_and_perform (NULL, FALSE, NULL, on_send_receive_performer, NULL);
else
on_send_receive_performer (FALSE, NULL, NULL, NULL, NULL);