<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hey Gerv,</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Nov 18, 2013 at 2:08 PM, Gervase Markham <span dir="ltr"><<a href="mailto:gerv@mozilla.org" target="_blank">gerv@mozilla.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi timello,<br>
<div class="im"><br>
On 16/11/13 02:17, Tiago Mello wrote:<br>
> I have implemented something like that as an extension... Not sure if it<br>
> address all your needs... But it worths a quick look.<br>
><br>
> <a href="https://github.com/timello/AntiSpam" target="_blank">https://github.com/timello/AntiSpam</a><br>
<br>
</div>Wow, that looks like a lot of work... Did you try fixing the problem<br>
further "upstream", but getting $user->email to return the obfuscated value?<br></blockquote><div><br></div><div>I didn't. It has been a while since I started working on that extension but maybe the reason was that I needed that feature asap and it was faster at that time to write it as an extension.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Given that we have the "emailsuffix" capability, and the "only show<br>
email when logged in" capability, surely those two things can be abused<br>
to do what you were trying without having to write a specific hack for<br>
every template which uses email addresses?</blockquote><div><br></div><div>To be honest. I don't recall why I implemented it that way... it must have a reason... :) Maybe, today, we can implement it better and I totally agree that this feature should be brought upstream.</div>
<div><br></div><div> Tiago</div></div></div></div>