1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-18 22:45:25 +02:00

misc: replace Swarm Created message in 1:1

Change-Id: I71388da217d4912a4f89c36e8a539cdc65f40097
GitLab: #1342
This commit is contained in:
Sébastien Blin 2023-09-15 12:56:45 -04:00
parent 75a154f4fe
commit 1a12cb3b8c

View file

@ -355,7 +355,11 @@ struct Info
if (type == Type::CONTACT) {
authorUri = accountURI == message["uri"] ? "" : message["uri"];
} else if (type == Type::INITIAL) {
body = QObject::tr("Swarm created");
if (message["mode"] == "0") {
body = QObject::tr("Private conversation created");
} else {
body = QObject::tr("Swarm created");
}
} else if (type == Type::CALL) {
duration = message["duration"].toInt() / 1000;
if (message.contains("confId"))