]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Handle attempt to subscribe a local user via their remote webfinger reference more...
authorBrion Vibber <brion@pobox.com>
Tue, 6 Apr 2010 23:32:04 +0000 (23:32 +0000)
committerBrion Vibber <brion@pobox.com>
Tue, 6 Apr 2010 23:35:24 +0000 (16:35 -0700)
commitd352e5f5c4cb87be97cc7ec9d619037087dfb391
treecdea0f341217af3af6c597b5863b1071f3f54282
parentcda03ff328814a3cc65eb418020924da74d9458a
Handle attempt to subscribe a local user via their remote webfinger reference more gracefully.
The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'.

Can be extended later to allow actually using the local profile, since we could figure it out.
plugins/OStatus/classes/Ostatus_profile.php