mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-18 08:35:26 +08: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:
committed by
ovari123@zoho.com
parent
a950a3f9e7
commit
ffcfaffc90
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user