Page MenuHomePhorge

Display overrided user names
ClosedPublic

Authored by tusooa on Thu, Jun 6, 8:07 PM.
Tags
None
Referenced Files
F2794: D38.id104.diff
Tue, Jun 11, 11:40 AM
Unknown Object (File)
Mon, Jun 10, 1:39 AM
Unknown Object (File)
Sun, Jun 9, 4:58 PM
Unknown Object (File)
Sun, Jun 9, 5:51 AM
Unknown Object (File)
Sun, Jun 9, 5:51 AM
Unknown Object (File)
Sat, Jun 8, 8:56 PM
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