will
will copied to clipboard
Room topics not refreshed/updated
In my @hear handler, I'm trying to fetch the current room topic (by accessing the room attribute of the message object) so I can modify it instead of replacing it entirely. However, it looks like will only fetches the room list once on startup, and doesn't update the 'topic' attribute if a user changes it manually using the /topic command.
That sounds like a correct summation to me. In your ideal world, what would the interface to the room topic look like?
I'm not sure how slash commands are implemented in HipChat, but if will could listen for a /topic command, will could update its internal state for the room. Alternately, you could periodically call RoomMixin.update_available_rooms(), which is what I'm planning on doing as a workaround.
Topic stuff is a bit tricky, but this may still be doable. Will keep it on the list!