mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 01:56:21 +00:00
Include open subscription requests in desktop reminder notifications
closes #167
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user