litaio / lita-hipchat

A HipChat adapter for Lita.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to post multi-line message

ingoweiss opened this issue · comments

Hi - sorry this is more a question than an issue (I didn't know where to post questions): How can I post a multi-line message using lita-hipchat? When I send the lines as individual messages, their order is non-deterministic. When I try to add
tags they are escaped.

Thanks!
Ingo

Hi, Ingo. This is a fine place to ask questions, but there is also the mailing list if you prefer.

Lita::Robot#send_messages takes any number of arguments and will send the messages in sequence.

When you say "tags" I assume you mean HTML markup inside a message. Unfortunately, that is not currently supported by HipChat for XMPP connections. HTML is only usable via their HTTP API. We're tracking the issue at #7. It's been a requested feature for quite a long time and Atlassian has not implemented it, so I'm not personally holding much hope that they will. Development on HipChat seems pretty stagnant these days. :(