diaspora/app/helpers
Benjamin Neff c135ace407
Fix notifications when people remove their birthday date
Some people may remove their birthday date after the notification was
sent, which then breaks the notification page for other users. Let's
just display the date when the notification was created, and not display
the users updated birthday date. When users update from date A to B it
always looks weird anyway, when we display the same new date B twice on
different days, or display two different dates for the same user.

We could remove notifications when users change or remove their
birthday, but that would be way more complex and also we usually don't
remove notifications (not even for deleted posts).

Fixes #7689

closes #7691
2018-01-05 01:50:11 +01:00
..
activity_streams_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
application_helper.rb Fix ApplicationHelper#changelog_url with frozen strings 2017-09-17 19:29:16 +02:00
aspect_global_helper.rb Remove aspect_ids parameter from publisher 2017-12-25 20:54:10 +01:00
contacts_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
conversations_helper.rb Fix ConversationsHelper#conversation_class with frozen strings 2017-09-17 19:29:16 +02:00
error_messages_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
getting_started_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
gon_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
interim_stream_hackiness_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
invitation_codes_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
jsxc_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
language_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
layout_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
meta_data_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
mobile_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
notifications_helper.rb Fix notifications when people remove their birthday date 2018-01-05 01:50:11 +01:00
notifier_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
o_embed_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
open_graph_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
people_helper.rb Fix PeopleHelper#person_link and #person_image_link with frozen strings 2017-09-17 19:29:16 +02:00
posts_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
profile_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
publisher_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
report_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
services_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
sessions_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
statistics_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
stream_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
tags_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
user_applications_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
users_helper.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00