In case a CM doesn't have the presence interface a contacts presence will be
reported as _UNSET. Treating this as _AVAILABLE causes these contacts to
show up in the UI
{
switch (type)
{
- case TP_CONNECTION_PRESENCE_TYPE_UNSET:
case TP_CONNECTION_PRESENCE_TYPE_UNKNOWN:
case TP_CONNECTION_PRESENCE_TYPE_ERROR:
return MC_PRESENCE_UNSET;
case TP_CONNECTION_PRESENCE_TYPE_OFFLINE:
return MC_PRESENCE_OFFLINE;
+ case TP_CONNECTION_PRESENCE_TYPE_UNSET:
case TP_CONNECTION_PRESENCE_TYPE_AVAILABLE:
return MC_PRESENCE_AVAILABLE;
case TP_CONNECTION_PRESENCE_TYPE_AWAY: