mirror of
https://github.com/Seldaek/monolog.git
synced 2025-01-29 10:21:56 +01:00
Always send the "from" name in the hipchat handler
This commit is contained in:
parent
f86e643a58
commit
45d243f0ab
@ -141,12 +141,12 @@ class HipChatHandler extends SocketHandler
|
||||
'message' => $record['formatted'],
|
||||
'message_format' => $this->format,
|
||||
'color' => $this->getAlertColor($record['level']),
|
||||
'from' => $this->name,
|
||||
);
|
||||
|
||||
// if we are using the legacy API then we need to send some additional information
|
||||
if ($this->version == self::API_V1) {
|
||||
$dataArray['room_id'] = $this->room;
|
||||
$dataArray['from'] = $this->name;
|
||||
}
|
||||
|
||||
return http_build_query($dataArray);
|
||||
|
Loading…
x
Reference in New Issue
Block a user