dumb presence API
PresenceManager::instance().getSubscriptions
returns a VectorMapStringString
.
This function has the following description:
List of hashes map with the following key-value pairs:
* Buddy: URI of the contact
* Status: "Online" or "Offline"
* LineStatus: String
So we should have something like:
[{
"Buddy": "ringid1",
"Status": "Online",
"LineStatus": "",
},
{
"Buddy": "ringid2",
"Status": "Online",
"LineStatus": "",
}]
But instead, we have:
[{
"ringid1": "",
"Online": "",
},
{
"ringid2": "",
"Online": "",
}]
This is just ugly as hell.
Edited by Sébastien Blin