Open MurzNN opened 7 years ago
When I receive message from new user, bridge don't add user to Skype Protocol Matrix room, and shows this error:
{ poll: An error happened while processing the polled messages caused by Error: Unknown ressource.messageType ("ThreadActivity/AddMember") for resource: { "contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0", "messagetype": "ThreadActivity/AddMember", "originalarrivaltime": "2017-08-24T12:45:12.957Z", "type": "Message", "version": "1503578712957", "ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack", "origincontextid": "150357871205190055", "isactive": true, "from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype", "id": "1503578712957", "conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype", "counterpartymessageid": "1503578712957", "threadtopic": "murz-test_test2", "content": "15035787129578:live:murz-test8:murznn", "composetime": "2017-08-24T12:45:12.957Z" } at formatMessageResource (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:139:19) at formatEventMessage (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:241:24) at MessagesPoller. (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:310:43) at Generator.next () at fulfilled (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:4:58) at at process._tickCallback (internal/process/next_tick.js:188:7) name: 'poll', [_message]: 'An error happened while processing the polled messages', data: {}, cause: { Error: Unknown ressource.messageType ("ThreadActivity/AddMember") for resource: { "contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0", "messagetype": "ThreadActivity/AddMember", "originalarrivaltime": "2017-08-24T12:45:12.957Z", "type": "Message", "version": "1503578712957", "ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack", "origincontextid": "150357871205190055", "isactive": true, "from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype", "id": "1503578712957", "conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype", "counterpartymessageid": "1503578712957", "threadtopic": "murz-test_test2", "content": "15035787129578:live:murz-test8:murznn", "composetime": "2017-08-24T12:45:12.957Z" } at formatMessageResource (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:139:19) at formatEventMessage (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:241:24) at MessagesPoller. (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:310:43) at Generator.next () at fulfilled (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:4:58) at at process._tickCallback (internal/process/next_tick.js:188:7) [stack]: 'Error: Unknown ressource.messageType ("ThreadActivity/AddMember") for resource:\n{\n\t"contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0",\n\t"messagetype": "ThreadActivity/AddMember",\n\t"originalarrivaltime": "2017-08-24T12:45:12.957Z",\n\t"type": "Message",\n\t"version": "1503578712957",\n\t"ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack",\n\t"origincontextid": "150357871205190055",\n\t"isactive": true,\n\t"from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"id": "1503578712957",\n\t"conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"counterpartymessageid": "1503578712957",\n\t"threadtopic": "murz-test_test2",\n\t"content": "15035787129578:live:murz-test8:murznn",\n\t"composetime": "2017-08-24T12:45:12.957Z"\n}\n at formatMessageResource (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:139:19)\n at formatEventMessage (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:241:24)\n at MessagesPoller. (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:310:43)\n at Generator.next ()\n at fulfilled (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:4:58)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)', [message]: 'Unknown ressource.messageType ("ThreadActivity/AddMember") for resource:\n{\n\t"contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0",\n\t"messagetype": "ThreadActivity/AddMember",\n\t"originalarrivaltime": "2017-08-24T12:45:12.957Z",\n\t"type": "Message",\n\t"version": "1503578712957",\n\t"ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack",\n\t"origincontextid": "150357871205190055",\n\t"isactive": true,\n\t"from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"id": "1503578712957",\n\t"conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"counterpartymessageid": "1503578712957",\n\t"threadtopic": "murz-test_test2",\n\t"content": "15035787129578:live:murz-test8:murznn",\n\t"composetime": "2017-08-24T12:45:12.957Z"\n}' }, [_stack]: 'poll: An error happened while processing the polled messages\n caused by Error: Unknown ressource.messageType ("ThreadActivity/AddMember") for resource:\n{\n\t"contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0",\n\t"messagetype": "ThreadActivity/AddMember",\n\t"originalarrivaltime": "2017-08-24T12:45:12.957Z",\n\t"type": "Message",\n\t"version": "1503578712957",\n\t"ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack",\n\t"origincontextid": "150357871205190055",\n\t"isactive": true,\n\t"from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"id": "1503578712957",\n\t"conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"counterpartymessageid": "1503578712957",\n\t"threadtopic": "murz-test_test2",\n\t"content": "15035787129578:live:murz-test8:murznn",\n\t"composetime": "2017-08-24T12:45:12.957Z"\n}\n at formatMessageResource (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:139:19)\n at formatEventMessage (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:241:24)\n at MessagesPoller. (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:310:43)\n at Generator.next ()\n at fulfilled (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:4:58)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)', [_stackContainer]: undefined, message: 'poll: An error happened while processing the polled messages\n caused by Error: Unknown ressource.messageType ("ThreadActivity/AddMember") for resource:\n{\n\t"contentformat": "FN=MS%20Shell%20Dlg; EF=; CO=0; CS=0; PF=0",\n\t"messagetype": "ThreadActivity/AddMember",\n\t"originalarrivaltime": "2017-08-24T12:45:12.957Z",\n\t"type": "Message",\n\t"version": "1503578712957",\n\t"ackrequired": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/ALL/messages/1503578712957/ack",\n\t"origincontextid": "150357871205190055",\n\t"isactive": true,\n\t"from": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/contacts/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"id": "1503578712957",\n\t"conversationLink": "https://bn2-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:c7edeaaf4e074ddaa12bbddba2f36154@thread.skype",\n\t"counterpartymessageid": "1503578712957",\n\t"threadtopic": "murz-test_test2",\n\t"content": "15035787129578:live:murz-test8:murznn",\n\t"composetime": "2017-08-24T12:45:12.957Z"\n}\n at formatMessageResource (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:139:19)\n at formatEventMessage (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:241:24)\n at MessagesPoller. (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:310:43)\n at Generator.next ()\n at fulfilled (matrix-puppets/matrix-puppet-skype/node_modules/skype-http/dist/lib-es2015/lib/polling/messages-poller.js:4:58)\n at \n at process._tickCallback (internal/process/next_tick.js:188:7)' }
And after this it can't send any message from this contact with error [M_UNKNOWN: No row found] because there are no user in Matrix side.
[M_UNKNOWN: No row found]
Seems there are problem on matrix bridge side, not in skype-http library.
How can I fix this error?
When I receive message from new user, bridge don't add user to Skype Protocol Matrix room, and shows this error:
And after this it can't send any message from this contact with error
[M_UNKNOWN: No row found]
because there are no user in Matrix side.Seems there are problem on matrix bridge side, not in skype-http library.
How can I fix this error?