seems to work find with the flags in the source fixed<br><br>
<div><span class="gmail_quote">On 22/02/06, <b class="gmail_sendername">Scott Ellis</b> <<a href="mailto:mail@scottellis.com.au">mail@scottellis.com.au</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Thanks Evan...but I tried it, and get a 'duplicate case' error in one of my switch statements...</div>
<div> </div>
<div>It turns out to be because 'send whitespace tag' and 'whitespace start ake' are both defined to be 0x08 - so they're actually both the same thing. This means, if I define manual the way you suggest, it is exactly the same as opportunistic - which is not what I want. 
</div>
<div> </div>
<div>So I guess the behaviour I'm after is not possible with the current source.<br><br> </div>
<div><span class="e" id="q_1098f10da0fc3073_1">
<div><span class="gmail_quote">On 22/02/06, <b class="gmail_sendername">Evan Schoenberg</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:evan.s@dreskin.net" target="_blank">evan.s@dreskin.net
</a>> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Scott, 
<div><br> </div>
<div>You've come to the exact same conclusion I did with the same rationale.  Adium's "manual" mode is actually defined as:</div>
<div style="MARGIN: 0px"><font face="Monaco" color="#236e25" size="2"><span style="FONT-SIZE: 10px">/* OTRL_POLICY_MANUAL doesn't let us respond to other users' automatic attempts at encryption.</span></font></div>
<div style="MARGIN: 0px"><font face="Monaco" color="#236e25" size="2"><span style="FONT-SIZE: 10px"> * If either user has OTR set to Automatic, an OTR session should be begun; without this modified</span></font></div>
<div style="MARGIN: 0px"><font face="Monaco" color="#236e25" size="2"><span style="FONT-SIZE: 10px"> * mask, both users would have to be on automatic for OTR to begin automatically, even though one user</span></font></div>

<div style="MARGIN: 0px"><font face="Monaco" color="#236e25" size="2"><span style="FONT-SIZE: 10px"> * _manually_ attempting OTR will _automatically_ bring the other into OTR even if the setting is Manual.</span></font></div>

<div style="MARGIN: 0px"><font face="Monaco" color="#236e25" size="2"><span style="FONT-SIZE: 10px"> */</span></font></div>
<div style="MARGIN: 0px"><font face="Monaco" color="#683821" size="2"><span style="FONT-SIZE: 10px">#define OTRL_POLICY_MANUAL_AND_REPOND_TO_WHITESPACE</span></font><span style="WHITE-SPACE: pre"> </span><font face="Monaco" color="#683821" size="2">
<span style="FONT-SIZE: 10px">( OTRL_POLICY_MANUAL | \</span></font></div>
<div style="MARGIN: 0px"><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre">
</span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre">
</span><span style="WHITE-SPACE: pre"></span><font face="Monaco" color="#683821" size="2"><span style="FONT-SIZE: 10px">  </span></font><font face="Monaco" color="#683821" size="2"><span style="FONT-SIZE: 10px">OTRL_POLICY_WHITESPACE_START_AKE | \ 
</span></font></div>
<div style="MARGIN: 0px"><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre">
</span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre"></span><span style="WHITE-SPACE: pre">
</span><span style="WHITE-SPACE: pre"></span><font face="Monaco" color="#683821" size="2"><span style="FONT-SIZE: 10px">  </span></font><font face="Monaco" color="#683821" size="2"><span style="FONT-SIZE: 10px">OTRL_POLICY_ERROR_START_AKE ) 
</span></font></div>
<div><br> </div>
<div>-Evan</div>
<div><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.adiumx.com/" target="_blank">www.adiumx.com</a></div>
<div><span>
<div><br>
<div>
<div>On Feb 21, 2006, at 9:27 AM, Scott Ellis wrote:</div><br>
<blockquote type="cite">
<div>i'm wondering, what would be the effect of adding the WHITESPACE_START_AKE flag into the MANUAL mode?</div>
<div> </div>
<div>i mean - in my testing it seems that opportunistic mode only starts OTR when both sides have it set - if one side is set to manual, then automatic initialisation of OTR does not occur.</div>
<div> </div>
<div>if both sides are in manual, user 1 can 'force' user 2 to start OTR...so, if a user chooses 'opportunistic', wouldn't it make sense to force users they talk to who are in manual mode to start OTR also? would adding that flag have that effect? 
</div>
<div> </div>
<div>Scott</div></blockquote></div><br> </div></span></div><br clear="all"></blockquote></div><br></span></div></blockquote></div><br>