diff --git a/src/libclient/api/interaction.h b/src/libclient/api/interaction.h index 9294fa37..2d06aab3 100644 --- a/src/libclient/api/interaction.h +++ b/src/libclient/api/interaction.h @@ -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);