<freemangordon>
dsc_: you can create roster by using account
<freemangordon>
also, most-probably need osso_abook_aggregator_get_default()
<freemangordon>
but, please, explain what you want to achieve, that I will just give you the code
<freemangordon>
s/that/then
<dsc_>
yes, nice
<dsc_>
I would like a list of contacts with their properties so I can see if there are pending presence subscription requests
<dsc_>
I would also like to subscribe to signals related to presence subscription/publication requests
<dsc_>
I also need functions for accept/deny/block/remove presence subscription requests
<dsc_>
incoming presence subscription request = remote party wants to see our status (known as 'add buddy')
<dsc_>
it is commonly answered with a 'publication request' where we give the counter party access to our own presence
<dsc_>
And... also sending such presence subscription requests on our own, to arbitrary contact addresses
<freemangordon>
dsc_: so, you need a list of all roster contacts, right?
<freemangordon>
i.e. contacts that come from telepathy accounts
<freemangordon>
for that all you need is osso_abook_aggregator_list_roster_contacts()
<freemangordon>
this returns a list of OssoABookContact *
<freemangordon>
doing osso_abook_aggregator_list_roster_contacts(NULL) is ok, it will use default aggregator that uses system addressbook (EBook) and ba sically that's what we want
<freemangordon>
ok, lemme write some code
<dsc_>
is there a reference somewhere in contact to the account?
<sicelo>
that mmsd, with some love, could probably work with our ofono
<sicelo>
and yes, sounds like kop316 would merge an ofono patch, if someone submitted it and was committed to maintaining it
<sicelo>
if you know a little bit of C, maybe I could also help/guide where I can
kiva94 has joined #maemo-leste
<sicelo>
kiva: what Leste phone are you using BTW?
<kiva94>
I have to first learn how to make Hello World in Linux..I have made little C code in DOS years ago. I use Pinephone Keyboard.
kiva has quit [Ping timeout: 256 seconds]
<kiva94>
So I am not the best guy to be maintainer for it.
akossh has quit [Ping timeout: 272 seconds]
<sicelo>
I've contributed code to a couple of C projects, and to this day still don't know when to use &, *, ->, or . when pointers and structs are involved. :-D
<sicelo>
so I think you actually can maintain it perfectly well. copy-paste, and the compiler will help you by throwing errors :-p
<kiva94>
:)
<freemangordon>
sicelo: come on
<freemangordon>
ping me when you have 5 minutes (not now) and I'll explain that to you once and for all
akossh has joined #maemo-leste
<kiva94>
In time to time have tried compile something old code (just using make) and compiler always throwing so many errors that I gave up...but I try now first relearn C in Linux enviroment then I remember contact you...actually I am not bad coder, I have even helped pro coders to think how to solve problems optimal way, but unix and C is not my cub of
<kiva94>
tea.
<sicelo>
freemangordon: I'll take you up on that offer
<freemangordon>
sure
kiva94 has quit [Quit: Client closed]
Anasko has joined #maemo-leste
Livio_ has quit [Ping timeout: 260 seconds]
akossh has quit [Ping timeout: 244 seconds]
Twig has quit [Ping timeout: 244 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
System_Error has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]