hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
251 stars 20 forks source link

`/otrpolicy` non-intuitive #60

Closed hannesm closed 9 years ago

hannesm commented 9 years ago

writing foo bar baz to account bla@bla.bla starts an OTR session (if require_encryption is set). if I now do /otrpolicy -REQUIRE_ENCRYPTION no messages are sent (since the otr ctx has the old policy).

need to adjust all the ctx whenever I /otrpolicy for a change