Modify

#818 accepted enhancement

add per-user OTR policy setting

Reported by: pesco Owned by: pesco
Priority: normal Milestone:
Component: OTR Version: devel
Keywords: Cc: marlowe@…
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

... akin to the global otr_policy one.

this would be stored in the otr connection context, i.e. independently from bitlbee's settings.

accordingly, the command would probably be

otr policy <user> (never|opportunistic|manual|always)

Attachments (0)

Change History (4)

comment:1 Changed at 2011-07-29T08:09:41Z by pesco

Cc: marlowe@… added
Status: newaccepted

comment:2 in reply to:  description Changed at 2011-10-03T16:35:02Z by pesco

Replying to pesco:

this would be stored in the otr connection context, i.e. independently from bitlbee's settings.

actually, i was mistaken on this one. libotr gives us a connection context in a callback and asks which policy to apply. we have to store it somewhere.

so since we have (afaik?) no central mechanism to store per-user settings, the easiest way would be to save to our own file. since there is no complicated structure in the data, this could be as straight-forward as an ascii text file with lines like this: john@doe.net/jabber opportunistic

comment:3 Changed at 2013-06-04T18:32:46Z by zx2c4

+1

comment:4 Changed at 2016-10-18T07:29:05Z by dx

Priority: wishlistnormal

Modify Ticket

Action
as accepted The owner will remain pesco.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.