Page MenuHomePhabricator

[lib] Update getDefaultAvatar and threadMembersWithoutAddedAshoat
ClosedPublic

Authored by inka on Feb 22 2024, 8:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 7:22 AM
Unknown Object (File)
Mar 12 2024, 9:02 AM
Unknown Object (File)
Mar 12 2024, 9:01 AM
Unknown Object (File)
Mar 4 2024, 7:29 PM
Unknown Object (File)
Feb 29 2024, 3:52 PM
Unknown Object (File)
Feb 28 2024, 5:01 PM
Unknown Object (File)
Feb 28 2024, 9:22 AM
Unknown Object (File)
Feb 28 2024, 8:07 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
Lint Not Applicable
Unit
Tests Not Applicable

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