Modified message color default behavior.
This commit is contained in:
@@ -2769,11 +2769,13 @@ class HIPCHAT(object):
|
||||
if self.emoticon:
|
||||
text = self.emoticon + ' ' + text
|
||||
|
||||
data = {'color': self.color,
|
||||
'message': text,
|
||||
data = {'message': text,
|
||||
'notify': 'false',
|
||||
'message_format': 'text'}
|
||||
|
||||
if self.color:
|
||||
data['color'] = self.color
|
||||
|
||||
hiphost = urlparse(self.apiurl).hostname
|
||||
hippath = urlparse(self.apiurl).path
|
||||
hipquery = urlparse(self.apiurl).query
|
||||
|
Reference in New Issue
Block a user