Adding a new protocol
Eduardo
maldauxra-retumado at yahoo.com
Thu May 16 09:01:26 EDT 2019
That's also a good idea. I'll check python-purple.
On 15/5/19 17:48, Eion Robb wrote:
> 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
> <mailto: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/ae3f803a/attachment.html>
More information about the Devel
mailing list