chiark / gitweb /
With the new embedded tweet code there's no reason not to expand embedded tweets...
[irc.git] / commands.py
index f7444d1d52b09eb4bf13c71fd5f33d3bb17a1990..431a113cd1274fec3926c36a9ccaca276b0f206c 100755 (executable)
@@ -576,7 +576,7 @@ def getTweet(urlstring,twitapi,inclusion=False):
             else:
                 toReplace = '%s://%s%s' % (rv.scheme, rv.hostname, rv.path) # leave off the final '?'
 
-        if expand_included_tweets and not inclusion:
+        if expand_included_tweets:
             if rv.hostname == 'twitter.com' and re.search(r'status/\d+',rv.path):
                 quotedtweet = getTweet(toReplace, twitapi, inclusion=True) # inclusion parameter limits recursion.
                 if not quotedtweet: