mirror of https://github.com/vector-im/riot-web
Add time to comment
parent
d584e70662
commit
38cbbfb99e
|
@ -34,8 +34,8 @@ export function getDisplayAliasForRoom(room: Room): string {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// The various display alias getters all feed through this one path so there's a
|
// The various display alias getters should all feed through this one path so
|
||||||
// single place to change the logic.
|
// there's a single place to change the logic.
|
||||||
export function getDisplayAliasForAliasSet(canonicalAlias: string, altAliases: string[]): string {
|
export function getDisplayAliasForAliasSet(canonicalAlias: string, altAliases: string[]): string {
|
||||||
if (AliasCustomisations.getDisplayAliasForAliasSet) {
|
if (AliasCustomisations.getDisplayAliasForAliasSet) {
|
||||||
return AliasCustomisations.getDisplayAliasForAliasSet(canonicalAlias, altAliases);
|
return AliasCustomisations.getDisplayAliasForAliasSet(canonicalAlias, altAliases);
|
||||||
|
|
Loading…
Reference in New Issue