Don’t send avatar URL to Discord, because it doesn’t specify a protocol
This commit is contained in:
parent
5bf1b4a653
commit
142687f4d4
|
@ -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
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue