Don’t send avatar URL to Discord, because it doesn’t specify a protocol

This commit is contained in:
David Taylor 2017-07-29 19:52:46 +01:00
parent 5bf1b4a653
commit 142687f4d4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ module DiscourseChat
author:{ author:{
name: display_name, name: display_name,
url: Discourse.base_url+"/u/"+post.user.username, url: Discourse.base_url+"/u/"+post.user.username,
icon_url: post.user.small_avatar_url # icon_url: post.user.small_avatar_url
} }
}] }]
} }