will icon indicating copy to clipboard operation
will copied to clipboard

Room topics not refreshed/updated

Open amckinley opened this issue 10 years ago • 3 comments

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.

amckinley avatar Aug 22 '14 19:08 amckinley

That sounds like a correct summation to me. In your ideal world, what would the interface to the room topic look like?

skoczen avatar Aug 22 '14 19:08 skoczen

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.

amckinley avatar Aug 22 '14 19:08 amckinley

Topic stuff is a bit tricky, but this may still be doable. Will keep it on the list!

skoczen avatar Aug 25 '14 19:08 skoczen