Page MenuHomePhabricator

[lib] Update getDefaultAvatar and threadMembersWithoutAddedAshoat
ClosedPublic

Authored by inka on Feb 22 2024, 8:49 AM.
Tags
None
Referenced Files
F3526897: D11146.id37514.diff
Tue, Dec 24, 2:04 AM
F3526896: D11146.id37502.diff
Tue, Dec 24, 2:04 AM
F3526895: D11146.id37449.diff
Tue, Dec 24, 2:04 AM
F3526881: D11146.id.diff
Tue, Dec 24, 2:04 AM
F3526872: D11146.diff
Tue, Dec 24, 2:04 AM
Unknown Object (File)
Wed, Dec 4, 9:48 PM
Unknown Object (File)
Thu, Nov 28, 3:08 PM
Unknown Object (File)
Tue, Nov 26, 4:00 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-6907/update-getdefaultavatar-and-threadmemberswithoutaddedashoat
getDefaultAvatar should strip any keyserver prefix
threadMembersWithoutAddedAshoat should remove any admin

Test Plan

tested that threadMembersWithoutAddedAshoat correctly removes admin
tested that getDefaultAvatar correctly splits the string

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 22 2024, 8:57 AM
Harbormaster failed remote builds in B27071: Diff 37449!
inka requested review of this revision.Feb 22 2024, 11:36 PM
lib/shared/thread-utils.js
241 ↗(On Diff #37449)

Should the function be renamed?

This revision is now accepted and ready to land.Feb 23 2024, 3:50 AM