Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4904 from sanyandreichuk/revert-notification
Browse files Browse the repository at this point in the history
Revert "Add an in-app message for new Windows App (#4903)"
  • Loading branch information
AndrewVebster authored Aug 31, 2022
2 parents 4099e8c + 7f3aee4 commit e5d7bc1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions releases/message.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"id": 1000,
"from": 1660694400,
"to": 1664582400,
"type": 2,
"appversion": "7.0.0",
"title": "A new and improved Windows app!",
"text": "For a better desktop experience, get our rewritten Windows app. We'll be deprecating this version at the end of September 2022.",
"button": "Get it now!",
"url-win": "https://toggl.com/track/toggl-desktop/downloads/windows/stable/TogglTrack-windows64.exe"
"id": 5,
"from": 1600925481,
"to": 1601301350,
"type": 0,
"appversion": "7.5.286",
"title": "How is your experience using the updated Timer?",
"text": "Let us know in a 2-minute survey!",
"button": "Give feedback",
"url-mac": "https://forms.gle/QKX7datPDVV7axvu8",
"url-win": "https://forms.gle/QKX7datPDVV7axvu8",
"url-linux": "https://forms.gle/QKX7datPDVV7axvu8"
}

2 changes: 1 addition & 1 deletion src/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ error Context::fetchMessage(const bool periodic) {
if ("production" != environment_) {
// testing location
req.host = "https://raw.githubusercontent.com";
req.relative_url = "/toggl-open-source/toggldesktop/test-in-app-notification/releases/message.json";
req.relative_url = "/toggl-open-source/toggldesktop/rebranding/post-rebranding-notification/releases/message.json";
} else {
req.host = "https://raw.githubusercontent.com";
req.relative_url = "/toggl-open-source/toggldesktop/master/releases/message.json";
Expand Down

0 comments on commit e5d7bc1

Please sign in to comment.