Page MenuHomePhorge

Display overrided user names
ClosedPublic

Authored by tusooa on Jun 6 2024, 8:07 PM.
Tags
None
Referenced Files
F38471: D38.1728091116.diff
Thu, Oct 3, 6:18 PM
F38341: D38.1728043765.diff
Thu, Oct 3, 5:09 AM
Unknown Object (File)
Fri, Sep 27, 8:23 PM
Unknown Object (File)
Fri, Sep 27, 6:26 PM
Unknown Object (File)
Fri, Sep 27, 4:20 PM
Unknown Object (File)
Fri, Sep 27, 3:01 PM
Unknown Object (File)
Tue, Sep 24, 5:31 AM
Unknown Object (File)
Tue, Sep 24, 2:47 AM
Subscribers
None

Details

Summary

This commit supports displaying a name for some user that is overrided by the current user, i.e. name annotations.

Type: add

CCBUG: https://iron.lily-is.land/T77

Test Plan
  • Verify that unit tests pass.
  • Send an account data event with type work.banananet.msc3865.user_given.user.displayname and content {"@tusooa:tusooa.xyz": "小喵风"}. Verify that the display name of the account @tusooa:tusooa.xyz is shown as 小喵风 (tusooa) in:
    • event sender fields
    • typing indicators
    • room member lists
    • titles of user pages
    • notifications

Diff Detail

Repository
rK kazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable