Added format to the HipchatAgent default options

Dominik Sander лет %!s(int64=10): %!d(string=назад)
Родитель
Сommit
96a67a6e4d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/models/agents/hipchat_agent.rb

+ 2 - 1
app/models/agents/hipchat_agent.rb

@@ -19,7 +19,7 @@ module Agents
19 19
 
20 20
       You can provide a `username` and a `message`. If you want to use mentions change `format` to "text" ([details](https://www.hipchat.com/docs/api/method/rooms/message)).
21 21
 
22
-      If you want your message to notify the room members change `notify` to "Yes".
22
+      If you want your message to notify the room members change `notify` to "True".
23 23
 
24 24
       Modify the background color of your message via the `color` attribute (one of "yellow", "red", "green", "purple", "gray", or "random")
25 25
 
@@ -34,6 +34,7 @@ module Agents
34 34
         'message' => "Hello from Huginn!",
35 35
         'notify' => false,
36 36
         'color' => 'yellow',
37
+        'format' => 'html'
37 38
       }
38 39
     end
39 40