[OTR-dev] Re: Requirements for libotr4

Paul Wouters paul@cypherpunks.ca
Thu, 19 Jun 2008 11:23:26 -0400 (EDT)


> As far as I can tell ?OTR? is used for two different things:
>
> 1. OTR initiation. I agree that you need something like ?OTR? here.
> 2. OTR restart. Here ?OTR? is interpreted within an ongoing OTR conversation
> which I think is totally unneccessary. Here you could easily use a
> protocol internal message to restart OTR. That way anything can be
> transmitted over OTR, including OTR. One would only have to add a
> function otr_restart() to the library.

Some clients or servers prepend garbage to your message, so the client also
needs to be able to trigger on ?OTR? within the message, as aposed to only
at the start of the message.

Paul