fallback availabiluty icons, chatty icon

This commit is contained in:
Blue 2019-06-24 00:09:39 +03:00
parent 833913cac2
commit 12511b1864
18 changed files with 399 additions and 51 deletions

View file

@ -76,17 +76,17 @@ QVariant Models::Roster::data (const QModelIndex& index, int role) const
switch (item->type) {
case Item::account:{
Account* acc = static_cast<Account*>(item);
result = acc->getStatusIcon();
result = acc->getStatusIcon(false);
}
break;
case Item::contact:{
Contact* contact = static_cast<Contact*>(item);
result = contact->getStatusIcon();
result = contact->getStatusIcon(false);
}
break;
case Item::presence:{
Presence* presence = static_cast<Presence*>(item);
result = presence->getStatusIcon();
result = presence->getStatusIcon(false);
}
break;
default: