listenee is nickname, not URI

darcs-hash:20080606043405-84dde-e365fd5a897990c446a4156ed3582081949fd891.gz
This commit is contained in:
Evan Prodromou 2008-06-06 00:34:05 -04:00
parent 87cf04255a
commit 49111ecae8

View File

@ -81,7 +81,7 @@ class FinishremotesubscribeAction extends Action {
common_debug('listenee: "'.$omb['listenee'].'"', __FILE__); common_debug('listenee: "'.$omb['listenee'].'"', __FILE__);
$user = User::staticGet('uri', $omb['listenee']); $user = User::staticGet('nickname', $omb['listenee']);
if (!$user) { if (!$user) {
common_user_error(_t('User being listened to doesn\'t exist.')); common_user_error(_t('User being listened to doesn\'t exist.'));