diff options
author | Brion Vibber <brion@status.net> | 2010-11-12 13:06:41 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-12 13:06:41 -0800 |
commit | 6291e8201f90ed50687f7670edc505645ea55bfb (patch) | |
tree | 0a0744cc4c4faa655eada3995b72e1401e921310 /extlib/MIME/Type | |
parent | b6af5a25ba61ef3c86a3772abea7ac95778689f7 (diff) |
Fix for failure edge case in TwitterBridge outgoing repeat/retweets.
When the retweet failed with a 403 error (say due to it being a private tweet, which can't be retweeted) we would end up mishandling the return value from our internal error handling.
Instead of correctly discarding the message and closing out the queue item, we ended up trying to save a bogus twitter<->local ID mapping, which threw another exception and lead the queue system to re-run it.
- Fixed the logic check and return values for the retweet case in broadcast_twitter().
- Added doc comments explaining the return values on some functions in twitter.php
- Added check on Notice_to_status::saveNew() for empty input -- throw an exception before we try to actually insert into db. :)
Diffstat (limited to 'extlib/MIME/Type')
0 files changed, 0 insertions, 0 deletions