MOBILE-4470 messages: Fix multilang not applied to conversation title

main
Dani Palou 2024-05-07 15:39:43 +02:00
parent 7e73ae9087
commit abbcd66ecd
2 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,8 @@
onError="this.src='assets/img/group-avatar.svg'">
</div>
<h2>
<core-format-text [text]="conversation.name" contextLevel="system" [contextInstanceId]="0" />
<!-- WS didn't filter the name, see MDL-81815. -->
<core-format-text [text]="conversation.name" contextLevel="system" [contextInstanceId]="0" [wsNotFiltered]="true" />
</h2>
<p>
<core-format-text *ngIf="conversation.subname" [text]="conversation.subname" contextLevel="system"

View File

@ -9,7 +9,8 @@
onError="this.src='assets/img/group-avatar.svg'" core-external-content role="presentation" [siteId]="siteId">
<core-user-avatar *ngIf="loaded && otherMember" class="core-bar-button-image" [user]="otherMember" [linkProfile]="false"
[checkOnline]="otherMember.showonlinestatus" />
<core-format-text [text]="title" contextLevel="system" [contextInstanceId]="0" />
<!-- WS didn't filter the conversation name, see MDL-81815. -->
<core-format-text [text]="title" contextLevel="system" [contextInstanceId]="0" [wsNotFiltered]="true" />
<ion-icon *ngIf="conversation && conversation.isfavourite" name="fas-star"
[attr.aria-label]="'core.favourites' | translate" />
<ion-icon *ngIf="conversation && conversation.ismuted" name="fas-bell-slash"