summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-01 16:36:33 -0800
committerBrion Vibber <brion@pobox.com>2010-03-02 15:43:32 -0800
commit49a872b56f82a3f1ba59f0751c11dfe7754393dd (patch)
treed91f34e80d38b6759176b6f76810fe5aa80f574b /actions
parent8da1b71d6957b4fc2c9032a10e5be0613bafbde7 (diff)
OStatus: support @example.com/path/to/profile mentions as well as @profile@example.com (latter requires webfinger, former doesn't)
Plus misc warnings/notices cleanup in the submission path.
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 78480abab..ed0fa1b2b 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -294,6 +294,9 @@ class NewnoticeAction extends Action
if ($profile) {
$content = '@' . $profile->nickname . ' ';
}
+ } else {
+ // @fixme most of these bits above aren't being passed on above
+ $inreplyto = null;
}
$notice_form = new NoticeForm($this, '', $content, null, $inreplyto);