From 3147b095a863ecd5c898beca075e6ab90b726b93 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 13 Dec 2014 18:07:43 +0100 Subject: [PATCH] Changed links to point to BETA version - looks better on tablets. --- runtastic_live.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 runtastic_live.php diff --git a/runtastic_live.php b/runtastic_live.php old mode 100755 new mode 100644 index ba9dedf..a402686 --- a/runtastic_live.php +++ b/runtastic_live.php @@ -85,7 +85,7 @@ if (count($new) + count($stopped) == 1) { if (count($old) > 0) { $message .= PHP_EOL . sprintf('%u other%s still going strong.', count($old), count($old)>1?'s':''); } - $url = $friend['session_url']; + $url = $friend['session_url'] . '?beta=true'; $url_title = 'Runtastic session'; } else { $title = sprintf('%u Runtastic updates', count($new) + count($stopped)); @@ -103,7 +103,7 @@ if (count($new) + count($stopped) == 1) { $message .= sprintf('%u other%s still going strong.', count($old), count($old)>1?'s':''); } $title .= ': ' . implode(', ', $names); - $url = sprintf('https://www.runtastic.com/en/users/%s/friends/live', $user_url); + $url = sprintf('https://www.runtastic.com/en/users/%s/friends/live?beta=true', $user_url); $url_title = 'Runtastic Live'; }