mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-03 14:25:38 +02:00
Conversation: add "You left the conversation." string
Follow up to https://review.jami.net/c/jami-client-qt/+/30295 GitLab: #1932 Change-Id: Ic6e78bd3384c9b825a7fd3bc82409d3e6df2b721
This commit is contained in:
parent
a950a3f9e7
commit
ffcfaffc90
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ getContactInteractionString(const QString& authorUri, const ContactAction& actio
|
|||
}
|
||||
return QObject::tr("%1 has joined the conversation.").arg(authorUri);
|
||||
case ContactAction::LEAVE:
|
||||
if (authorUri.isEmpty()) {
|
||||
return QObject::tr("You left the conversation.");
|
||||
}
|
||||
return QObject::tr("%1 has left the conversation.").arg(authorUri);
|
||||
case ContactAction::BANNED:
|
||||
return QObject::tr("%1 was blocked from the conversation.").arg(authorUri);
|
||||
|
|
Loading…
Add table
Reference in a new issue