Commit 56c4e34d authored by mvogt's avatar mvogt

[libcontacts] Use isOnline flag to select FilterOnline contacts

Note that the presence of this flag in the metadata means we should not
need to query for these contacts explicitly; we should instead extract
the subset of online contacts from the metadata contact set, and
insert those directly into the models.
parent 947093db
......@@ -259,8 +259,7 @@ QContactFilter nonfavoriteFilter()
QContactFilter onlineFilter()
// Where presence is available
return QContactGlobalPresence::match(QContactPresence::PresenceAvailable);
return QContactStatusFlags::matchFlag(QContactStatusFlags::IsOnline);
QContactFilter aggregateFilter()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment