Ejemplo n.º 1
0
/**
 * Remove and free a group chat invite.
 */
void
twc_group_chat_invite_remove(struct t_twc_group_chat_invite *invite)
{
    twc_list_remove_with_data(invite->profile->group_chat_invites, invite);
    twc_group_chat_invite_free(invite);
}
Ejemplo n.º 2
0
/**
 * Remove and free a friend request from its profile.
 */
void
twc_friend_request_remove(struct t_twc_friend_request *request)
{
    twc_list_remove_with_data(request->profile->friend_requests, request);
}