1
0
Fork 0
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:
ovari123 2025-03-03 15:01:07 -05:00 committed by ovari123@zoho.com
parent a950a3f9e7
commit ffcfaffc90

View file

@ -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);