diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md index 306b7e085..3ad8e92d4 100644 --- a/public/docs/release-notes.md +++ b/public/docs/release-notes.md @@ -1,5 +1,13 @@ # Release Notes +## UNRELEASED + +### Bugfixes +- Fix error that Libravatar user avatars were not shown when using OAuth2 login + +### Enhancements +- Libravatar avatars render as ident-icons when no avatar image was uploaded to Libravatar or Gravatar + ## 1.9.2 2021-12-03 ### Bugfixes diff --git a/test/letter-avatars.js b/test/letter-avatars.js index 0645ef876..178075aa3 100644 --- a/test/letter-avatars.js +++ b/test/letter-avatars.js @@ -19,8 +19,8 @@ describe('generateAvatarURL() gravatar enabled', function () { }) it('should return correct urls', function () { - assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', true), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?s=400') - assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', false), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?s=96') + assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', true), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?default=identicon&s=400') + assert.strictEqual(avatars.generateAvatarURL('Daan Sprenkels', 'hello@dsprenkels.com', false), 'https://cdn.libravatar.org/avatar/d41b5f3508cc3f31865566a47dd0336b?default=identicon&s=96') }) it('should return correct urls for names with spaces', function () {