Livio has joined #maemo-leste
Livio has quit [Ping timeout: 272 seconds]
joerg has quit [Excess Flood]
fmg_d4 has quit [Remote host closed the connection]
fmg_d4 has joined #maemo-leste
joerg has joined #maemo-leste
vectis has joined #maemo-leste
xmn has quit [Ping timeout: 248 seconds]
joerg has quit [Ping timeout: 248 seconds]
joerg has joined #maemo-leste
pabs3 has quit [Ping timeout: 245 seconds]
xmn has joined #maemo-leste
_fab has joined #maemo-leste
pabs3 has joined #maemo-leste
vectis has quit [Ping timeout: 248 seconds]
pere has quit [Ping timeout: 248 seconds]
pere has joined #maemo-leste
_whitelogger has joined #maemo-leste
FANTOM has joined #maemo-leste
apac has quit [Ping timeout: 256 seconds]
_fab has joined #maemo-leste
akossh has joined #maemo-leste
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
Wikiwide has joined #maemo-leste
Anasko has quit [Ping timeout: 248 seconds]
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Client Quit]
fmg_d4 has joined #maemo-leste
xinomilo has joined #maemo-leste
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
pere has quit [Ping timeout: 260 seconds]
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Client Quit]
fmg_d4 has joined #maemo-leste
apac has joined #maemo-leste
apac has quit [Read error: Connection reset by peer]
pere has joined #maemo-leste
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #maemo-leste
Wikiwide has quit [Ping timeout: 258 seconds]
fmg_d4 has quit [Quit: fmg_d4]
fmg_d4 has joined #maemo-leste
xinomilo has quit [Quit: Leaving]
norly_ has joined #maemo-leste
sixwheeledbeast^ has joined #maemo-leste
branon_ has joined #maemo-leste
panzeroceania_ has joined #maemo-leste
Blikje_ has joined #maemo-leste
meridion_ has joined #maemo-leste
tmlind_ has joined #maemo-leste
tvall_ has joined #maemo-leste
crab_ has joined #maemo-leste
pere has quit [*.net *.split]
Blikje has quit [*.net *.split]
sixwheeledbeast has quit [*.net *.split]
crab has quit [*.net *.split]
branon has quit [*.net *.split]
tmlind has quit [*.net *.split]
norly has quit [*.net *.split]
tvall has quit [*.net *.split]
meridion has quit [*.net *.split]
panzeroceania has quit [*.net *.split]
panzeroceania_ is now known as panzeroceania
fmg_d4 has quit [Quit: fmg_d4]
tvall_ is now known as tvall
fmg_d4 has joined #maemo-leste
ikmaak has quit [Ping timeout: 248 seconds]
FANTOM has quit [Ping timeout: 260 seconds]
ikmaak has joined #maemo-leste
crab_ has quit [Quit: WeeChat 4.6.3]
crab has joined #maemo-leste
pere has joined #maemo-leste
FANTOM has joined #maemo-leste
xmn_ has joined #maemo-leste
xmn has quit [Ping timeout: 248 seconds]
xmn_ is now known as xmn
Livio has joined #maemo-leste
meridion_ is now known as meridion
_fab has quit [Quit: _fab]
joerg is now known as devuan
devuan is now known as joerg
apac has joined #maemo-leste
_fab has joined #maemo-leste
apac has quit [Quit: Konversation terminated!]
_fab has quit [Quit: _fab]
LIERO_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
_fab has joined #maemo-leste
<dsc_> freemangordon: hello
<dsc_> for `contacts_changed_cb` I iterate `OssoABookContact **contacts`
<freemangordon> mhm
<dsc_> but `osso_abook_contact_get_uid(contact)` returns a osso-abook tmp. uid
<freemangordon> and?
<dsc_> how do I map this back to what I have on the conversations side?
<freemangordon> what do you have there?
<freemangordon> im account?
<dsc_> osso_abook_contact_get_persistent_uid(contact) // gabble/jabber/vm_40xmpp_2ekroket_2eio0-gajim@xmpp.kroket.io
<dsc_> osso_abook_contact_get_uid(contact) // osso-abook-tmc1
<dsc_> persistent_uid() *does* get the abook uid that the conversations knows about
<dsc_> but I was under the impression I should use _get_uid() instead
<freemangordon> this is for rtcom logging
<freemangordon> _get_uid()
<dsc_> right
<dsc_> I'm doing that, yeah.
<dsc_> this is the contacts changed callback, e.g. XMPP status change (online -> away)
<freemangordon> mhm
<freemangordon> you can get all the needed data from the contact you get in the callback (avatar, status, etc)
<freemangordon> but when logging, you need abook id
<dsc_> yes, I am retreiving all neccesary attributes from within the callback
<dsc_> then I emit these changes to conversations
<freemangordon> and if there is no master contact for im contact, then you get tmp uid
<freemangordon> IIUC :)
<dsc_> right okay
<freemangordon> hmm, wait
<freemangordon> I think it is a bit more complicated, in callback
<freemangordon> please, check which contact do you receive if you have master contact for the changed roster (im) contact
<freemangordon> if you get master contact, then it is ok, but if you get roster contact, then you may want to search for master contact
<dsc_> yes, sec need to investigate something
<freemangordon> not sure how, lemme check
<dsc_> how to know how something is a master contact btw?
<dsc_> how to know if something is a master contact*
<freemangordon> osso_abook_contact_is_roster_contact() :)
<dsc_> thx
<freemangordon> if you receive roster contact, you may want to call osso_abook_aggregator_resolve_master_contacts() and use some properties from there (like name, avatar, $whatever)
<dsc_> disregard, whether its a master contact or not does not matter - I just follow whatever _get_uid() returns
<dsc_> unless you suggest to specifically find associated master contacts
<dsc_> I think currently it is OK, _get_uid() will return the contact, it can be a master contact, or a tmp contact
<dsc_> from the perspective of conversations its not important
<freemangordon> right, but my point was about "contacts-change" callback
<freemangordon> there you should check which contact do you get
<freemangordon> and if it is roster contact, to try to find master contact for it and get avatar and name of the *master* contact
<dsc_> alright, will do
<freemangordon> why, you may ask? imagine, you have your mum as contact in facebook. you have it in your addressbook as 'mum' with phone number, email, etc. she sends you a message in messenger, but her facebook name is not 'mum', obviously.
<freemangordon> so, in conversations chat you will see her facebook name, instead of 'mum'
<freemangordon> if you use roster contact to retrieve the name that is
<freemangordon> but, if you resolve roster contact to master contact, then you will use the correct name
<freemangordon> same for avatar, etc
<freemangordon> agree?
<dsc_> yes
<freemangordon> ok, good
<dsc_> freemangordon: the creation of a master/roster contact, is that done through merging in address book?
<dsc_> I tried it, but `osso_abook_contact_is_roster_contact` returns 0 on that contact
apac has joined #maemo-leste
LIERO has joined #maemo-leste
<dsc_> I have overriden some attributes like avatar and display name through the address book, e.g. 'mum' (while the XMPP nickname is different)
<dsc_> even though I am not resolving a master contact through `osso_abook_aggregator_resolve_master_contacts`, the attributes *are* queried properly
<dsc_> as I have 'mum' in conversations now
<dsc_> whilst osso_abook_contact_is_roster_contact reported 0
<freemangordon> dsc_: so, abook already does what has to be done for you :)
<dsc_> right
<dsc_> ok cool
<freemangordon> mhm
<dsc_> and even though the abook uid changed (it now starts with pas-*), I was still able to query properly through the previous uid (as that was what was previously stored in rtcom)
<dsc_> so seems to work fine this way
<dsc_> when we receive the next message, this new uid will be registered in rtcom, etc.
<freemangordon> dsc_: and I assume you shaved lots of code :)
<freemangordon> yes
<dsc_> yes shaving is still ongoing
<dsc_> but I am still caching things
<freemangordon> and also, IIRC, abook will migrate temp uids
<freemangordon> to mater uid
<freemangordon> but I am not 100% sure about that
<dsc_> ok
<freemangordon> we shall confirm
<freemangordon> but that's easy and not really that important
pere has quit [Ping timeout: 248 seconds]
apac has quit [Ping timeout: 248 seconds]
vectis has joined #maemo-leste
apac has joined #maemo-leste
Livio_ has joined #maemo-leste
Livio has quit [Ping timeout: 272 seconds]
ceene has quit [Ping timeout: 260 seconds]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #maemo-leste
Pali has joined #maemo-leste
_fab has quit [Quit: _fab]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #maemo-leste
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #maemo-leste
pere has joined #maemo-leste
norly_ has quit [Quit: Leaving.]
Anasko has joined #maemo-leste
norly has joined #maemo-leste
Pali has quit [Quit: Pali]
Gary_M has joined #maemo-leste
Guest58 has joined #maemo-leste
arno11 has joined #maemo-leste
Guest58 has quit [Quit: Client closed]
Livio_ has quit [Quit: leaving]
xmn has quit [Quit: Leaving]
akossh has quit [Quit: Leaving.]
vectis has quit [Ping timeout: 250 seconds]
kiva has joined #maemo-leste
<kiva> Wizzup: yes that will be good idea to have at least some program to register as image handler..and Mihphoto at least works on N900-D4-PP, btw Mihphoto does not show up in App.Manager in PP?
<kiva> On PP Gthumb works very well in Maemo: https://packages.debian.org/bookworm-backports/gthumb
<kiva> some light weighting might needed for N900 (take away at least cd burning, web album creation ;) )
<kiva> still it is quite lightweight image viewer/editor to be originally advanced Gnome viewer.
kiva has quit [Quit: Client closed]
arno11 has quit [Quit: arno11]
kiva has joined #maemo-leste
kiva has quit [Quit: Client closed]