mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Add a workaround for broken AlreadyRetweeted error detection
https://github.com/sferik/twitter/pull/875
This commit is contained in:
parent
9e1c979004
commit
d937934daf
1 changed files with 4 additions and 0 deletions
|
@ -54,3 +54,7 @@ module TwitterConcern
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
Twitter::Error::FORBIDDEN_MESSAGES = Twitter::Error.send(:remove_const, :FORBIDDEN_MESSAGES).merge(
|
||||
'You have already retweeted this tweet.' => Twitter::Error::AlreadyRetweeted
|
||||
).freeze
|
||||
|
|
Loading…
Add table
Reference in a new issue