[openstreetmap/openstreetmap-website] Notification conversions: direct message and new follower (PR #6944)
Tom Hughes
notifications at github.com
Thu Mar 26 18:48:11 UTC 2026
@tomhughes requested changes on this pull request.
> @@ -85,7 +85,7 @@ def gpx_failure
end
def message_notification
- message = params.fetch(:message)
+ message, recipient = params.fetch_values(:record, :recipient)
with_recipient_locale message.recipient do
@to_user = message.recipient.display_name
This should probably change to use the passed in recipient...
```suggestion
@to_user = recipient.display_name
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6944?email_source=notifications&email_token=AAK2OLINC3OWN35VEAFT4HD4SV3OXA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMBRGY2TSMJTGQ22M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#pullrequestreview-4016591345
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6944/review/4016591345 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260326/6312bb52/attachment-0001.htm>
More information about the rails-dev
mailing list