Enable presence again. Fix up api to match old api.

This commit is contained in:
Erik Johnston 2014-08-26 19:40:29 +01:00
parent c1cf0b334e
commit 67c5f89244
5 changed files with 35 additions and 10 deletions

View file

@ -126,8 +126,8 @@ class MessageHandler(BaseHandler):
chunk = {
"chunk": [e.get_dict() for e in events],
"start_token": from_token.to_string(),
"end_token": next_token.to_string(),
"start": from_token.to_string(),
"end": next_token.to_string(),
}
defer.returnValue(chunk)