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 _______________________________________________ OTR-dev mailing list [email protected] http://lists.cypherpunks.ca/mailman/listinfo/otr-dev
