Client node now displays in all participants and presences, some additional checkups before querying empty clients, refactoring
This commit is contained in:
parent
76a9c5da0c
commit
21b40a9ccb
19 changed files with 407 additions and 317 deletions
|
@ -35,11 +35,22 @@ Shared::ClientInfo::ClientInfo():
|
|||
id(),
|
||||
specificPresence() {}
|
||||
|
||||
Shared::ClientInfo::ClientInfo(const QString& p_node, const QString& p_ver, const QString& p_hash) :
|
||||
identities(),
|
||||
extensions(),
|
||||
id(p_node, p_ver, p_hash),
|
||||
specificPresence() {}
|
||||
|
||||
Shared::ClientInfo::ClientInfo(const Shared::ClientId& p_id) :
|
||||
identities(),
|
||||
extensions(),
|
||||
id(p_id),
|
||||
specificPresence() {}
|
||||
|
||||
QString Shared::ClientInfo::getId() const {
|
||||
return id.getId();
|
||||
}
|
||||
|
||||
|
||||
QDataStream & Shared::ClientInfo::operator >> (QDataStream& stream) const {
|
||||
stream << id;
|
||||
stream << (quint8)identities.size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue