Hi! When requesting start of OTR session by passing "?OTR?" to otrl_message_sending, libotr substitutes this message by a hardcoded string [1]. This string is problematic because it contains newline characters which are used to separate individual commands in the IRC protocol. What is after the newline is not a valid command which makes the IRC server respond with an error. The string also contains HTML tags which are not interpreted by most IRC clients.
I'm using an ugly workaround to replace this string whenever it's returned by otrl_message_sending. It appears that irssi-otr tries to avoid this by directly sending ?OTRv23? without passing it to libotr. Would it be possible to fix this, preferably without breaking current API? Cheers, Martin [1] http://sourceforge.net/p/otr/libotr/ci/f0f8a26dda75e5b97eddbc69f3ccb33e107d808b/tree/src/proto.c#l230 _______________________________________________ OTR-dev mailing list [email protected] http://lists.cypherpunks.ca/mailman/listinfo/otr-dev
