Page MenuHomePhorge

Display overrided user names
ClosedPublic

Authored by tusooa on Jun 6 2024, 8:07 PM.
Tags
None
Referenced Files
F8179345: D38.1760235822.diff
Fri, Oct 10, 7:23 PM
F8162510: D38.1760173214.diff
Fri, Oct 10, 2:00 AM
F8162254: D38.1760171715.diff
Fri, Oct 10, 1:35 AM
F8162109: D38.1760171419.diff
Fri, Oct 10, 1:30 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