Skip to content

Add prioritization for Talk - #134

Merged
nickvergessen merged 2 commits into
nextcloud:masterfrom
mario:master
Jul 11, 2018
Merged

Add prioritization for Talk#134
nickvergessen merged 2 commits into
nextcloud:masterfrom
mario:master

Conversation

@mario

Copy link
Copy Markdown
Contributor

Signed-off-by: Mario Danic mario@lovelyhq.com

@mario

Copy link
Copy Markdown
ContributorAuthor

To clarify, this allows us to send high priority messages only for Talk, thus not waking up the mobile apps on more "normal" activities in return conserving battery life.

@nickvergessennickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine by me, although your PR title is lying. you are removing priority from everything else, not adding it to Talk ;)

@nickvergessen

Copy link
Copy Markdown
Member

Conflicting files
lib/Push.php

Signed-off-by: Mario Danic <mario@lovelyhq.com>
@mario

Copy link
Copy Markdown
ContributorAuthor

Done!

Comment threadlib/Push.php Outdated
];

if ($isTalkNotification) {
$priority = "high";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php uses single quotes 🙈

Signed-off-by: Mario Danic <mario@lovelyhq.com>
@mario

Copy link
Copy Markdown
ContributorAuthor

Done!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mario@nickvergessen