mirror of
https://gitlab.crans.org/elkmaennchen/gitscord-webhook
synced 2025-10-11 02:00:04 +02:00
add avatar of author
This commit is contained in:
parent
9b575e4472
commit
c1c1742ea7
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ function push_layout($messageJSON,$JSON,$lang) {
|
|||
'description'=> "**".$JSON['commits'][$numCommit]['message']."**\n\n__".$txt_add_push[$lang]."__\n".$lst_added."\n__".$txt_mod_push[$lang]."__\n".$lst_modified."\n__".$txt_suppr_push[$lang]."__\n".$lst_deleted,
|
||||
'url'=> $JSON['commits'][$numCommit]['url'],
|
||||
'timestamp'=> $JSON['commits'][$numCommit]['timestamp'],
|
||||
'author'=> array('name'=> $JSON['commits'][$numCommit]['author']['name']))
|
||||
'author'=> array('name'=> $JSON['commits'][$numCommit]['author']['name'], 'icon_url'=> $JSON['user_avatar']))
|
||||
);
|
||||
}
|
||||
return($messageJSON);
|
||||
|
|
Loading…
Reference in a new issue