summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index ac2f9af36..2fdcb37e3 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -934,6 +934,10 @@ function common_fancy_url($action, $args=NULL) {
} else {
return common_path($args['nickname'].'/favorites');
}
+ case 'showmessage':
+ return common_path('message/' . $args['id']);
+ case 'newmessage':
+ return common_path('message/new' . (($args) ? ('?' . http_build_query($args)) : ''));
default:
return common_simple_url($action, $args);
}