fixed thread.id undefinded error
Merge branch 'dev/temp' of https://github.com/scrollback/scrollback into dev/temp