forked from blue/squawk
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
|
@ -225,6 +225,7 @@ QVariant Models::Roster::data (const QModelIndex& index, int role) const
|
|||
if (s.size() > 0) {
|
||||
str += "\n" + tr("Status: ") + s;
|
||||
}
|
||||
str += "\n" + tr("Client: ") + contact->getClientNode();
|
||||
|
||||
result = str;
|
||||
}
|
||||
|
@ -240,7 +241,8 @@ QVariant Models::Roster::data (const QModelIndex& index, int role) const
|
|||
}
|
||||
|
||||
str += tr("Affiliation: ") + Shared::Global::getName(p->getAffiliation()) + "\n";
|
||||
str += tr("Role: ") + Shared::Global::getName(p->getRole());
|
||||
str += tr("Role: ") + Shared::Global::getName(p->getRole()) + "\n";
|
||||
str += tr("Client: ") + p->getClientNode();
|
||||
|
||||
result = str;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue