kurttheviking / simple-hipchat-py

Python client fo HipChat's v1 API
Other
85 stars 25 forks source link

How to find new messages? #15

Closed davidawad closed 9 years ago

davidawad commented 9 years ago

If there was a way to find the most recent comment that would be really convenient. I'm thinking something like

While True: if com = getComment() : and have com be the most recent comment

kurttheviking commented 9 years ago

@DavidAwad seems like the "right way" to do this would be to check the room's history; you can do this with the current v1 api so I am going to close this issue. if you'd like to submit a PR with an explicit method I would gladly review and merge.