Commit e3046c61 authored by Mario's avatar Mario

Merge branch 'dev' into 'master'

Add URL decode if shared post author name contains non-latin characters

See merge request hubzilla/addons!281
parents 819c0df7 8101d759
......@@ -88,7 +88,7 @@ This addon contains intelligent shortener which converts your posts in tweets de
* To enable this mode use the following console command.
`util/config twitter.intelligent_shortening 1`
`util/config twitter intelligent_shortening 1`
Connector Options for the Channel
=================================
......
......@@ -242,7 +242,7 @@ function twitter_shortenmsg($b) {
while (strpos($msg, " ") !== false)
$msg = str_replace(" ", " ", $msg);
$msg = trim($msg);
$msg = trim(urldecode($msg));
// Add URL if exist and no image found
if (empty($image) && $link != '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment