[libpurple] Is there a way to strip jid resource?

Michał Kazior kazikcz at gmail.com
Sun Jun 5 18:01:38 EDT 2011


Hello,

I'm trying to strip a jid resource, example:
  bob at domain.tld/HomeXYZ  ->  bob at domain.tld

I know that I could just split it, but that seems wrong to me.
Shouldn't it be possible to do it with libpurple alone?

And does having a pointer to a PurpleConversation (to a conversation
with a resourceful jid) help in any way?


-- 
Pozdrawiam,
Michał Kazior.




More information about the Support mailing list