[OTR-dev] Re: Re: Requirements for libotr4
a.sporto+bee at gmail.com
Thu Jun 19 19:00:40 EDT 2008
On Thu 19.06.08 17:26, Kjell Braden wrote:
> On Do, 2008-06-19 at 17:09 +0200, Jonathan Schleifer wrote:
> > This has one problem: What if two users chat via ICQ for example and
> > both use a Jabber transport? Both would announce that they don't need
> > fragmentation, but they do.
> This does not in any way conflict with what Uli suggested before.
> Alice (using XMPP) tells Bob (which is a ICQ-transport contact of Alice)
> that she needs a MMS of 1024 because of the gateway, Bob (who uses XMPP,
> but chats with Alice using the transport) answers with the same value
> and the lib saves that value in the context on both sides. The only
> necessary change would be that the max_message_size Op would need the
> context or the accountname, username and protocol for that contact.
Which is already the case (see also my previous post):
int (*max_message_size)(void *opdata, ConnContext *context);
More information about the OTR-dev