added the current patches
diff --git a/oauth-exception-comment-out.diff b/oauth-exception-comment-out.diff new file mode 100644 --- /dev/null +++ b/oauth-exception-comment-out.diff @@ -0,0 +1,24 @@ +# HG changeset patch +# User Arne Babenhauserheide <bab@draketo.de> +# Date 1376750569 -7200 +# Sat Aug 17 16:42:49 2013 +0200 +# Node ID 6ac51cd69c376d4f65da2f518ad06b6565230e44 +# Parent 53790b99e502ec43daf9521e02e7efda2b4de6f0 +extlib/OAuth.php: comment out OAuthException. + +diff --git a/extlib/OAuth.php b/extlib/OAuth.php +--- a/extlib/OAuth.php ++++ b/extlib/OAuth.php +@@ -3,9 +3,10 @@ + + /* Generic exception class + */ +-class OAuthException extends Exception { ++// Commented out to just use the PHPOAuthException. See http://forum.status.net/discussion/738/fatal-error-cannot-redeclare-class-oauthexception and https://github.com/ginatrapani/ThinkUp/issues/1159 and ++// class OAuthException extends Exception { + // pass +-} ++// } + + class OAuthConsumer { + public $key; diff --git a/twitter-hack-bjoernb-to-bjoernbs.diff b/twitter-hack-bjoernb-to-bjoernbs.diff new file mode 100644 --- /dev/null +++ b/twitter-hack-bjoernb-to-bjoernbs.diff @@ -0,0 +1,22 @@ +# HG changeset patch +# User Arne Babenhauserheide <bab@draketo.de> +# Date 1379879577 -7200 +# Sun Sep 22 21:52:57 2013 +0200 +# Node ID 80f560f028cc320384f11e5be6cbfc369069b57f +# Parent 6ac51cd69c376d4f65da2f518ad06b6565230e44 +twitterbridge: replace bjoernb by bjoernbs + +diff --git a/plugins/TwitterBridge/twitteroauthclient.php b/plugins/TwitterBridge/twitteroauthclient.php +--- a/plugins/TwitterBridge/twitteroauthclient.php ++++ b/plugins/TwitterBridge/twitteroauthclient.php +@@ -179,6 +179,10 @@ class TwitterOAuthClient extends OAuthCl + if (is_numeric($params)) { + $params = array('in_reply_to_status_id' => intval($params)); + } ++ // Replace wrong forward ++ // FIXME: This is a HACK. But I need it right now. ++ $status = str_replace("@bjoernb ", "@bjoernbs ", $status); ++ $status = str_replace("@bjoernb:", "@bjoernbs:", $status); + $params['status'] = $status; + // We don't have to pass 'source' as the oauth key is tied to an app. +