Include open subscription requests in desktop reminder notifications

closes #167
This commit is contained in:
James Booth
2013-04-27 23:57:51 +01:00
parent 441422ddc8
commit 34217e4d44
3 changed files with 23 additions and 1 deletions

View File

@@ -129,6 +129,16 @@ presence_get_subscription_requests(void)
return g_hash_table_get_keys(sub_requests);
}
gint
presence_sub_request_count(void)
{
if (sub_requests == NULL) {
return 0;
} else {
return g_hash_table_size(sub_requests);
}
}
void
presence_free_sub_requests(void)
{