         for message in data
             m = Message.parse(message)
             console.log m
+        @emit 'message', m
 
     logout: ->
         @stop()


                ret = JSON.parse(body)
                if ret.retcode is 0
                    console.log 'success'
                    @authInfo.psessionid = ret.result.psessionid
                    @authInfo.uin = ret.result.uin
                    @authInfo.vfwebqq = ret.result.vfwebqq

                if ret.retcode isnt 0
                    return
                @dgroups = Info.parseDisscussGroups(ret.result)
            )
            # @groupMember('', (data)->
            #     console.log 'groupMember',data
