diff --git a/tools/chatgui/src/accountlist.cpp b/tools/chatgui/src/accountlist.cpp index 8380e037..2dc1989d 100644 --- a/tools/chatgui/src/accountlist.cpp +++ b/tools/chatgui/src/accountlist.cpp @@ -232,6 +232,9 @@ void AccountList::updateDetailDisplay() { break; } } + if (linkColor == "#9E9E9E" && a.protocol == 2 && conn->transport_link) { + linkColor = stcp_link_is_ready((struct stcp_link*)conn->transport_link) ? "#4CAF50" : "#E53935"; + } } lines.append(QString("● %2:%3:%4") .arg(linkColor, proto, addrStr(a.addr.constData(), a.family)).arg(a.port));