Closed btoueg closed 8 years ago
Can you try with lounge = self.query_room("47131_lounge@conf.hipchat.com") ?
ping
No action here, please reopen if self.query_room doesn't work. Thanks
@gbin hi, I also hit this issue, and I use query_room()
, it does not work.
@webhook
def alert(self, request):
"""A webhook which simply returns 'Example'"""
self.send(
self.query_room('104136_chatbot-test@conf.hipchat.com'),
'hello'
)
and the result is:
23:52:05 INFO Rocket.Requests 127.0.0.1 - "GET /alert/ HTTP/1.1" - 200 0
23:52:05 WARNING errbot.backends.xmpp Received error message: <message type="error" to="104136_3671080@chat.hipchat.com/none||proxy|pubproxy-d400.hipchat.com|5232" from="chatbot-test"><body>hello</body><error type="modify" code="400"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
I too have the same issue. Unsure what to pass as the room, tried all the options.
self.build_identifier('xxxxx_88822@conf.hipchat.com')
and
self.query_room('.....')
Have same problem, Errbot version 5.0.1
def callback_message(self, msg):
self.send(
self.build_identifier(u'xxxx@conf.hipchat.com'),
"Who calling me?"
)
Then Hipchat return XML contians
WARNING errbot.backends.xmpp Received error message: <message from="xxxx@conf.hipchat.com/pylegend" type="error" to="xxxx@chat.hipchat.com/none||proxy|pubproxy-b600.hipchat.com|5262"><body>Who calling me?</body><error code="400" type="modify"><jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
When sending message to Hipchat rooms, I get:
I'm using Python 3.5.1 with: