[OTR-dev] Fwd: Re: pidgin-otr problems receiving packets

Ian Goldberg ian at cypherpunks.ca
Tue Oct 22 11:35:55 EDT 2013


On Tue, Oct 22, 2013 at 02:35:52PM +0200, Moritz Warning wrote:
> Yes, that would be awesome. :)
> 
> Anyway, doesn't otr-pidgin get the return value
> of the protocols send function?
> The designated return value of -E2BIG would
> tell otr-pidgin to make the packets smaller.

No, it doesn't.  pidgin-otr hooks to the sending-im-msg signal, and just
encrypts the message in the sending buffer.  It doesn't do the actual
sending.  (Well, it does in the case of a message injected by libotr,
but that's not most of the time.)

   - Ian



More information about the OTR-dev mailing list