refactor: Use people.my_current_email() in filter.js.

This commit is contained in:
Steve Howell
2017-01-20 09:41:07 -08:00
committed by Tim Abbott
parent e10c6719d9
commit 2c684bf39f
2 changed files with 16 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ Filter.canonicalize_term = function (opts) {
case 'pm-with':
operand = operand.toString().toLowerCase();
if (operand === 'me') {
operand = page_params.email;
operand = people.my_current_email();
}
break;
case 'search':