diff options
Diffstat (limited to 'app/models/services/facebook.rb')
-rw-r--r-- | app/models/services/facebook.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/services/facebook.rb b/app/models/services/facebook.rb index f49fd2e51..65d1006c3 100644 --- a/app/models/services/facebook.rb +++ b/app/models/services/facebook.rb @@ -29,7 +29,7 @@ class Services::Facebook < Service {message: message, access_token: access_token, - link: URI.extract(message, ['https', 'http']).first + link: post.message.urls.first } end |