broadcast profile and change subscription input id

darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
This commit is contained in:
Evan Prodromou
2008-06-12 14:40:28 -04:00
parent aaf0786bef
commit c2a170da10
6 changed files with 225 additions and 5 deletions

View File

@@ -569,6 +569,13 @@ function common_broadcast_notice($notice, $remote=false) {
return true;
}
function common_broadcast_profile($profile) {
// XXX: optionally use a queue system like http://code.google.com/p/microapps/wiki/NQDQ
require_once(INSTALLDIR.'/lib/omb.php');
omb_broadcast_profile($profile);
// XXX: Other broadcasts...?
return true;
}
function common_profile_url($nickname) {
return common_local_url('showstream', array('nickname' => $nickname));