From 17652e7ade5d30021b7bb849517ccfc5dae7e4e7 Mon Sep 17 00:00:00 2001 From: Flohack74 Date: Fri, 3 Nov 2017 22:07:43 +0100 Subject: [PATCH] Building beta-release with supergroups! --- telegram/app/main.cpp | 2 +- telegram/app/qml/js/version.js | 2 +- telegram/app/qml/telegram.qml | 2 ++ telegram/manifest.json.in | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/telegram/app/main.cpp b/telegram/app/main.cpp index 28fff93d..aa9f42a9 100644 --- a/telegram/app/main.cpp +++ b/telegram/app/main.cpp @@ -27,7 +27,7 @@ int main(int argc, char *argv[]) AsemanApplication app(argc, argv); app.setApplicationName("Telegram"); app.setApplicationDisplayName("Telegram"); - app.setApplicationVersion("2.4.42.0"); + app.setApplicationVersion("2.5.0.0"); app.setOrganizationDomain("com.ubuntu.telegram"); app.setOrganizationName("com.ubuntu.telegram"); app.setWindowIcon(QIcon(":/qml/icons/telegram.png")); diff --git a/telegram/app/qml/js/version.js b/telegram/app/qml/js/version.js index 342cea87..72ac391e 100644 --- a/telegram/app/qml/js/version.js +++ b/telegram/app/qml/js/version.js @@ -1 +1 @@ -var version = "2.4.42.0"; +var version = "2.5.0.0"; diff --git a/telegram/app/qml/telegram.qml b/telegram/app/qml/telegram.qml index 7827cce4..8d96ae3b 100644 --- a/telegram/app/qml/telegram.qml +++ b/telegram/app/qml/telegram.qml @@ -228,6 +228,8 @@ MainView { id: account_list onUnreadCountChanged: { + if (!pushClient) + return; pushClient.count = unreadCount; if (unreadCount == 0) { pushClient.clearPersistent([]); diff --git a/telegram/manifest.json.in b/telegram/manifest.json.in index 18742c3e..a87b1831 100644 --- a/telegram/manifest.json.in +++ b/telegram/manifest.json.in @@ -1,7 +1,7 @@ { "name": "com.ubuntu.telegram", "description": "Telegram for Ubuntu Phone", - "framework": "ubuntu-sdk-15.04.3", + "framework": "ubuntu-sdk-15.04.6", "architecture": "@CLICK_ARCH@", "title": "Telegram", "hooks": { @@ -21,6 +21,6 @@ "scope": "scope" } }, - "version": "2.4.42.0", + "version": "2.5.0.0", "maintainer": "UBports Telegram Team " }