Specify call type on timeline

This commit is contained in:
trilene 2020-07-24 13:30:12 -04:00
parent d51e34e66a
commit aec24efbe2
6 changed files with 35 additions and 3 deletions

View file

@ -406,8 +406,8 @@ Example: https://server.my:8787</translation>
</message>
<message>
<location line="+6"/>
<source>%1 placed a voice call.</source>
<translation>%1 placed a voice call.</translation>
<source>%1 placed a %2 call.</source>
<translation>%1 placed a %2 call.</translation>
</message>
<message>
<location line="+6"/>

View file

@ -93,7 +93,7 @@ Item {
DelegateChoice {
roleValue: MtxEvent.CallInvite
NoticeMessage {
text: qsTr("%1 placed a voice call.").arg(model.data.userName)
text: qsTr("%1 placed a %2 call.").arg(model.data.userName).arg(model.data.callType)
}
}
DelegateChoice {