This commit is contained in:
Rasmus Karlsson
2019-11-02 12:36:42 +01:00
parent b2d88ba555
commit 0e1f1196d6
5 changed files with 17 additions and 29 deletions
+2 -2
View File
@@ -649,8 +649,8 @@ IndirectChannel WindowManager::decodeChannel(const QJsonObject &obj)
}
else if (type == "irc")
{
return Irc::instance().getOrAddChannel(
obj.value("server").toInt(-1), obj.value("channel").toString());
return Irc::instance().getOrAddChannel(obj.value("server").toInt(-1),
obj.value("channel").toString());
}
return Channel::getEmpty();