-
Notifications
You must be signed in to change notification settings - Fork 98
Description
I'm having an issue that may be related to #41, but may also be expected behavior. I'm hoping we can confirm whether it's expected behavior or an issue in my environment. It's worth noting that OpenFire is the XMPP server implementation in use here.
When the bot joins a room, robot.brain.data.users is empty. After it sees a message from a user for the first time, an entry for that user is added. Also, clients never seem to receive a presence notification for the bot: at least on Adium, the bot never appears in the list of users in the room, though clients can receive messages sent by the bot to the room.
What I'd like to be able to do is send unsolicited messages generated by POSTs to Hubot's HTTP endpoints to individual users in the room. However, with the current behavior, the bot doesn't "know about" users in the room until they send a message in it.
Is this expected behavior? Are there any workarounds? It sounds like #65 could add functionality that would fix this issue.