{"action":"opened","issue":{"url":"https://api.github.com/repos/ltworf/localslackirc/issues/79","repository_url":"https://api.github.com/repos/ltworf/localslackirc","labels_url":"https://api.github.com/repos/ltworf/localslackirc/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/ltworf/localslackirc/issues/79/comments","events_url":"https://api.github.com/repos/ltworf/localslackirc/issues/79/events","html_url":"https://github.com/ltworf/localslackirc/issues/79","id":347362396,"node_id":"MDU6SXNzdWUzNDczNjIzOTY=","number":79,"title":"Incoming message filter uses nick, but should use slack user name","user":{"login":"knorrie","id":627100,"node_id":"MDQ6VXNlcjYyNzEwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/627100?v=4","gravatar_id":"","url":"https://api.github.com/users/knorrie","html_url":"https://github.com/knorrie","followers_url":"https://api.github.com/users/knorrie/followers","following_url":"https://api.github.com/users/knorrie/following{/other_user}","gists_url":"https://api.github.com/users/knorrie/gists{/gist_id}","starred_url":"https://api.github.com/users/knorrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorrie/subscriptions","organizations_url":"https://api.github.com/users/knorrie/orgs","repos_url":"https://api.github.com/users/knorrie/repos","events_url":"https://api.github.com/users/knorrie/events{/privacy}","received_events_url":"https://api.github.com/users/knorrie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-03T11:35:02Z","updated_at":"2018-08-03T11:35:02Z","closed_at":null,"author_association":"NONE","body":"In `irc.py`:\r\n\r\n```\r\nif source == self.nick:\r\n    return\r\n```\r\n\r\nHowever, the chosen nick does not have to be your slack user name. The slack user name is not the display name, but the name you see when going to Account settings -> Username.\r\n\r\nWhen connecting, the information is available in the connection message: `'self': {'id': 'XXX123456', 'name': 'your name'}}` as the your_name value.\r\n\r\nI suspect it's even possible to check for the XXX123456 on incoming messages to know if it was just typed by yourself, then it'll work regardless of all the names."}}
{"actor":{"display_login":"knorrie"}}