Step 10.2: Move matrix logo replacement into react-sdk
This commit is contained in:
parent
661b8d595c
commit
63091e7b66
4 changed files with 182 additions and 2 deletions
|
@ -57,8 +57,7 @@ export default class EmbeddedPage extends React.PureComponent<IProps, IState> {
|
|||
};
|
||||
}
|
||||
|
||||
protected translate(s: string): string {
|
||||
// default implementation - skins may wish to extend this
|
||||
private translate(s: string): string {
|
||||
return sanitizeHtml(_t(s));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue