summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-01 16:36:33 -0800
committerBrion Vibber <brion@pobox.com>2010-03-01 16:43:36 -0800
commit493b5479c15f0e135054fd6b961e50e690077eda (patch)
treedf7d5077418b4d29e041e8e721edcea604f98e75 /actions/newnotice.php
parent0512151eabf64e88b4648869b3d029800d30668a (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/newnotice.php')
-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);