Bug 179544 - OTR plugin policy behaves as if on "Manual" even when set to "Always" or "Opportunistic"
Summary: OTR plugin policy behaves as if on "Manual" even when set to "Always" or "Opp...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: OTR Plugin (show other bugs)
Version: 0.60.81
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Zanetti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 21:05 UTC by Ivan D Vasin
Modified: 2010-08-27 02:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2009-01-03 21:05:19 UTC
Version:           0.60.81 (using 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.28-gentoo

i would like kopete's OTR plugin to start OTR sessions whenever possible---that is, whenever the person on the other end of the chat has OTR capability. so i keep the global OTR policy on "Opportunistic", the default. i test it by chatting with a friend who i know has OTR, and with whom i can manually start a (already verified) OTR session. but the OTR session never starts unless i start it manually by clicking OTR Encryption --> Start OTR Session. even if i set the OTR policy to "Always" for this contact (via the context menu for the contact's entry in my contact list), the OTR policy still behaves as if set to "Manual".
Comment 1 Michael Zanetti 2009-02-02 20:53:52 UTC
If the person on the other end has selected "Manual" the opportunistic mode won't work. However, the "always" option from the contact list menu should still work...
Comment 2 Michael Zanetti 2009-02-02 20:56:29 UTC
SVN commit 920380 by mzanetti:

Contacts context menu works again correctly
BUG: 179544


 M  +1 -1      otrplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920380
Comment 3 ietc 2010-08-27 02:22:21 UTC
Hate to be contrary, but even though the global OTR policy is set to Opportunistic and my contacts' policies are either the same or Default, I still don't get an OTR session until I manually start one.  The (contact's) policy of Always works as expected.

Also, Pidgin's OTR plugin equivalent of Opportunistic policy works -- tested with the same contacts as for Kopete.

OTR 0.9
Kopete 1.0.0
KDE 4.4.4 "release 2"
OpenSUSE 11.3

Details for Pidgin:

[x] Enable private messaging => [x] Automatically initiate private messaging.

'If the first box is checked, but "automatically initiate private messaging" is unchecked, private messaging will be enabled, but only if either you or your buddy explicitly requests to start a private conversation (and the third box will be greyed out, as it's irrelevant).

'If the first two boxes are checked, but "require private messaging" is unchecked, OTR will attempt to detect whether your buddy can understand OTR private messages, and if so, automatically start a private conversation.'

Off-the-Record Messaging 0.3.2
Pidgin 2.6.6 (libpurple 2.6.6)
EasyPeasy 1.6 (Ubuntu 10.4)
Comment 4 ietc 2010-08-27 02:32:24 UTC
Actually, I wonder if it has to do with this:

https://bugs.kde.org/show_bug.cgi?id=233330#c11

I don't know how to completely disable rich text (I already have "Configure => Behavior => Chat => [ ] Enable rich text by default" unchecked), so I'm at a bit of a loss of how to properly test whether Opportunistic mode works if rich text is disabled.