{"action":"closed","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3721","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3721/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3721/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/3721/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/3721","id":164524504,"number":3721,"title":"Relay messages between webhook integrations","user":{"login":"rasos","id":485723,"avatar_url":"https://avatars.githubusercontent.com/u/485723?v=3","gravatar_id":"","url":"https://api.github.com/users/rasos","html_url":"https://github.com/rasos","followers_url":"https://api.github.com/users/rasos/followers","following_url":"https://api.github.com/users/rasos/following{/other_user}","gists_url":"https://api.github.com/users/rasos/gists{/gist_id}","starred_url":"https://api.github.com/users/rasos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasos/subscriptions","organizations_url":"https://api.github.com/users/rasos/orgs","repos_url":"https://api.github.com/users/rasos/repos","events_url":"https://api.github.com/users/rasos/events{/privacy}","received_events_url":"https://api.github.com/users/rasos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20webhooks","name":"feat: webhooks","color":"207de5"},{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20support","name":"type: support","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-08T12:53:09Z","updated_at":"2016-09-23T09:30:14Z","closed_at":"2016-09-23T09:30:14Z","body":"If a message is coming into a private room from a webhook integration, it is not sent out to another integration, which is hooked in the same room. \r\n\r\nBackground: We need to serve Windows Phone users with Rocket.Chat rooms. There is no chance to build a WP App for RC in a usable quality (we tried several paths, see #1459). So we thought we connect the WP users with xmpp. The only xmpp client for WP is IM+, but we discovered that this one does not support MUCs (the Android version does). So what we try to do is bridging JIDs to one RC room. That works in both ways (even using only one webhook for several JIDs), however if xmpp user A sends a message to the RC room, xmpp user B won't see it (also not if we set up a webhook or a bot  for each user separately).\r\n\r\nIt seems that RC is not relaying messages from one webhook integration to another one. Is this by design? Could this be done by scripting? Or does it require an update of xmppwb, as discussed here: https://github.com/saqura/xmppwb/issues/6#issuecomment-231445691\r\n\r\nRocket.Chat version: 0.34"}}
{"actor":{"display_login":"rasos"}}