summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 5eed1bb81..eeffb90c1 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -236,6 +236,13 @@ function common_canonical_nickname($nickname) {
return strtolower($nickname);
}
+# get canonical version of email for comparison
+function common_canonical_email($email) {
+ # XXX: canonicalize UTF-8
+ # XXX: lcase the domain part
+ return $email;
+}
+
function common_render_content($text) {
# XXX: @ messages
# XXX: # tags