Skip to content

Commit

Permalink
Bring notifications back to lock screen, changelog for 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunderfitz committed Apr 27, 2022
1 parent 99bb0c7 commit 32a55c4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion qml/pages/AboutPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Page {
}

Label {
text: "Fernschreiber 0.14"
text: "Fernschreiber 0.15"
horizontalAlignment: Text.AlignHCenter
font.pixelSize: Theme.fontSizeExtraLarge
anchors {
Expand Down
6 changes: 6 additions & 0 deletions rpm/harbour-fernschreiber.changes
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
# * date Author's Name <author's email> version-release
# - Summary of changes

* Wed Apr 27 2022 Sebastian J. Wolf <sebastian@ygriega.de> 0.15
- Use geo: URL handler to open locations (direct call to Pure Maps is no longer working on SFOS 4.4)
- Use generic file handler to open downloaded files (cdg-open is no longer working on SFOS 4.4)
- Fix: Race condition on initial login caused malfunction of chats and settings page
- Fix: Bring notifications back to lock screen of SFOS 4.4

* Sun Apr 24 2022 Sebastian J. Wolf <sebastian@ygriega.de> 0.14
- Adjustments to SFOS 4.4: Setup application profile, migrate configuration, fix notification sound (bug #486)
- Support for Emoji 14.0
Expand Down
4 changes: 2 additions & 2 deletions rpm/harbour-fernschreiber.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Name: harbour-fernschreiber
# << macros

Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.14
Release: 2
Version: 0.15
Release: 1
Group: Qt/Qt
License: LICENSE
URL: http://werkwolf.eu/
Expand Down
4 changes: 2 additions & 2 deletions rpm/harbour-fernschreiber.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: harbour-fernschreiber
Summary: Fernschreiber is a Telegram client for Sailfish OS
Version: 0.14
Release: 2
Version: 0.15
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt
Expand Down
2 changes: 2 additions & 0 deletions src/notificationmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ namespace {
const QString HINT_DISPLAY_ON("x-nemo-display-on"); // bool
const QString HINT_VISIBILITY("x-nemo-visibility"); // QString
const QString HINT_FEEDBACK("x-nemo-feedback"); // QString
const QString HINT_PRIORITY("x-nemo-priority"); // int
const QString VISIBILITY_PUBLIC("public");
}

Expand Down Expand Up @@ -218,6 +219,7 @@ void NotificationManager::updateNotificationGroup(int groupId, qlonglong chatId,
notification->setHintValue(HINT_CHAT_ID, chatId);
notification->setHintValue(HINT_TOTAL_COUNT, totalCount);
notification->setHintValue(HINT_FEEDBACK, "chat_exists");
notification->setHintValue(HINT_PRIORITY, 120);
notificationGroups.insert(groupId, notificationGroup =
new NotificationGroup(groupId, chatId, totalCount, notification));
}
Expand Down
2 changes: 1 addition & 1 deletion src/tdlibwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ void TDLibWrapper::setInitialParameters()
QSettings hardwareSettings("/etc/hw-release", QSettings::NativeFormat);
initialParameters.insert("device_model", hardwareSettings.value("NAME", "Unknown Mobile Device").toString());
initialParameters.insert("system_version", QSysInfo::prettyProductName());
initialParameters.insert("application_version", "0.14");
initialParameters.insert("application_version", "0.15");
initialParameters.insert("enable_storage_optimizer", appSettings->storageOptimizer());
// initialParameters.insert("use_test_dc", true);
requestObject.insert("parameters", initialParameters);
Expand Down

0 comments on commit 32a55c4

Please sign in to comment.