Skip to content
Snippets Groups Projects
Commit 1a12cb3b authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: replace Swarm Created message in 1:1

Change-Id: I71388da217d4912a4f89c36e8a539cdc65f40097
GitLab: #1342
parent 75a154f4
No related branches found
No related tags found
No related merge requests found
......@@ -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"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment