Commit 2ced42b466eab202d11a02abe8d1c7e2603f01aa

Authored by Sergey Nartimov
1 parent ab6d6b74
Exists in master and in 1 other branch production

hipchat identifies chat room by its name

Closes #315
app/models/notification_services/hipchat_service.rb
@@ -6,8 +6,8 @@ if defined? HipChat @@ -6,8 +6,8 @@ if defined? HipChat
6 :placeholder => "API Token" 6 :placeholder => "API Token"
7 }], 7 }],
8 [:room_id, { 8 [:room_id, {
9 - :placeholder => "Room ID",  
10 - :label => "Room ID" 9 + :placeholder => "Room name",
  10 + :label => "Room name"
11 }], 11 }],
12 ] 12 ]
13 13
@@ -32,4 +32,4 @@ if defined? HipChat @@ -32,4 +32,4 @@ if defined? HipChat
32 client[room_id].send('Errbit', message, :color => 'red') 32 client[room_id].send('Errbit', message, :color => 'red')
33 end 33 end
34 end 34 end
35 -end  
36 \ No newline at end of file 35 \ No newline at end of file
  36 +end