You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The bot should create user objects as it hears presence messages from each user in the channel. You should be able to see hubot-xmpp receiving those messages if you enable debug logging.
Alternatively, the only hold up on merging #65 was the lack of tests, if you could add those in I'd be happy to merge that set of changes in.
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.
The text was updated successfully, but these errors were encountered: