diff --git a/app/models/notification_services/gtalk_service.rb b/app/models/notification_services/gtalk_service.rb index e58f71d..7158d89 100644 --- a/app/models/notification_services/gtalk_service.rb +++ b/app/models/notification_services/gtalk_service.rb @@ -45,10 +45,10 @@ class NotificationServices::GtalkService < NotificationService client.connect(service) client.auth(api_token) - #has to look like this to be formatted properly in the client - message = """#{problem.app.name} -#{Errbit::Config.protocol}://#{Errbit::Config.host}/apps/#{problem.app.id} -#{notification_description problem}""" + # has to look like this to be formatted properly in the client + message = """#{problem.app.name}\n" \ + "#{Errbit::Config.protocol}://#{Errbit::Config.host}/apps/#{problem.app.id}\n" \ + "#{notification_description problem}""" # post the issue to the xmpp room(s) send_to_users(client, message) unless user_id.blank? -- libgit2 0.21.2