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:
parent
75a154f4fe
commit
1a12cb3b8c
1 changed files with 5 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue