1

David G. F. wrote a libpurple Plugin for Whatsapp. I tested it with pidgin and it works for me. Now I try to wrap it for Adium (Issue on github).

I tried to wrap a libpurple plugin for Adium with this post. I can build the plugin and then add it to adium but nothing happens. So the call in my wrapper might be wrong. Can anyone check that? It's on github:

@implementation WhatsAppPlugin
- (void) installLibpurplePlugin
{
    purple_init_whatsapp_plugin();  
}

https://github.com/avarx/Adium-Whatsapp/blob/master/WhatsAppPlugin/WhatsAppPlugin.m

Sebastian
  • 8,046
  • 2
  • 34
  • 58
avarx
  • 509
  • 5
  • 21

1 Answers1

1

I'm not Adium specialist, but when I faced with simular problem: wrap libpurple plugin for Adium, source code of microblog-purple was very helpful. I just write same functions with little changes and everything works.

As you can see it is not enough write only installLibpurplePlugin. You should init account and service classes.

r3t
  • 53
  • 1
  • 6