]> 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:32:04 +0000 (23:32 +0000)
commit878461d50d36808fa812e0d4a0e1784e31dbbd6f
tree081f780f1be6d17030c0b724eb14fecd7acfd5bb
parent4bb75d1c8e22b7bfc689a9e582ef846515a90383
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