Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web_push_notifications): Send message with welcome notifications #4471

Merged
merged 2 commits into from
Aug 1, 2017
Merged

fix(web_push_notifications): Send message with welcome notifications #4471

merged 2 commits into from
Aug 1, 2017

Conversation

sorin-davidoi
Copy link
Contributor

@sorin-davidoi sorin-davidoi commented Jul 31, 2017

Since the format message was not sent with the first notification, grouping would fail. This includes the message in the payload for the welcome notification, but also reads it from the last notification (to avoid reading the misconfigured one).

@sorin-davidoi sorin-davidoi added the bug Something isn't working label Jul 31, 2017
@sorin-davidoi
Copy link
Contributor Author

@beatrix-bitrot This was why grouping would fail on Android 😞

@Gargron Gargron merged commit d4c4820 into mastodon:master Aug 1, 2017
@sorin-davidoi sorin-davidoi deleted the fix-notifications-grouping branch August 1, 2017 06:18
@ghost
Copy link

ghost commented Aug 1, 2017

@sorin-davidoi Would this require resubscribing, or should it fix already existing subscriptions too?

@sorin-davidoi
Copy link
Contributor Author

It should fix them as soon as the next one comes.

@ghost
Copy link

ghost commented Aug 1, 2017

Great, thanks. :)

@sorin-davidoi
Copy link
Contributor Author

I think when the first one comes it will be grouped together with the previous notifications - even if those were dismissed. This is a bug in the Android implementation, but this should work around that.

pfigel added a commit to pfigel/mastodon that referenced this pull request Aug 3, 2017
* tag 'v1.5.0': (333 commits)
  Bump to 1.5.0
  Update Dutch (nl) strings (mastodon#4480)
  Show SMTP_TLS in config sample (mastodon#4477)
  fix(web_push_notifications): Send message with welcome notifications (mastodon#4471)
  Change logo URL for Heroku and Scalingo (mastodon#4476)
  Add libidn11 to Aptfile (mastodon#4475)
  Re-add outline (mastodon#4474)
  do not emojify tm, (R) and (C) (mastodon#4472)
  i18n: update Persian translation (mastodon#4470)
  Load extra polyfills when isIntersecting is undefined (mastodon#4469)
  Bump to 1.5.0rc3
  Simplify web UI character counter logic (mastodon#4463)
  Fix button overflow on confirmation modal for mobile (mastodon#4465)
  Change RuboCop rules to loose (mastodon#4464)
  i18n: Update Polish translation (mastodon#4467)
  Disable sensitive button when with content warnings (mastodon#4460)
  Fix length validator counting things that look like URIs like URLs (mastodon#4462)
  Make salutation of email localizable (mastodon#4454)
  Improve accessibility (part 7) (mastodon#4457)
  Change to sensitive when adding content warning from web UI (mastodon#4456)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants