Adding a new protocol
Eion Robb
eion at robbmob.com
Wed May 15 16:48:22 EDT 2019
You could also load the yowsup library directly and write a protocol plugin
in Python using the https://github.com/anpetrov/python-purple python plugin
loader plugin, without needing to build a client/server setup thing
On Thu, 16 May 2019 at 00:14, Eduardo <maldauxra-retumado at yahoo.com> wrote:
> > What protocol were you thinking of writing for?
>
> I'm using the yowsup library, with a python client whose only task is to
> forward the messages to Telegram. My idea is to connect pidgin with that
> script, via a shallow plugin doing IPC, for example, or by presenting
> the yowsup client as a server to pidgin (using a basic protocol).
>
> Hope that makes sense...
>
> > There's a skeleton prpl in-tree called nullprpl.c (for 3.x.y
> > https://bitbucket.org/pidgin/main/src/default/libpurple/protocols/null/
> > or for 2.x.y
> > [...]
>
> Thanks a lot Eion! It's exactly what I was looking for. You'll probably
> hear from me again if I can get something working ;).
>
> Cheers, Eduardo.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/devel/attachments/20190516/69fa809b/attachment.html>
More information about the Devel
mailing list