{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/533","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/533/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/533/events","html_url":"https://github.com/snarfed/bridgy/issues/533","id":114131686,"number":533,"title":"poll: responses should override search mentions","user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snarfed/bridgy/labels/listen","name":"listen","color":"207de5"},{"url":"https://api.github.com/repos/snarfed/bridgy/labels/now","name":"now","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-29T19:48:26Z","updated_at":"2015-10-29T19:50:21Z","closed_at":null,"body":"found a case where we found a retweet via normal `get_activities` and also via mention search (#456), and we kept the mention version instead of the retweet version, which made it backfeed wrong. when that happens, the activity response should always take precedence over the mention. i think.\r\n\r\ni thought we already handled this in https://github.com/snarfed/bridgy/issues/494#issuecomment-143917200 and maybe #509, but i guess not?\r\n\r\namusingly, poll logged a warning when this happened: `Got two different versions of same response! tag:twitter.com,2013:654120973000511488`.\r\n\r\n* [mention `Response` entity](https://appengine.google.com/datastore/edit?app_id=s~brid-gy&key=aglzfmJyaWQtZ3lyNQsSCFJlc3BvbnNlIid0YWc6dHdpdHRlci5jb20sMjAxMzo2NTQxMjA5NzMwMDA1MTE0ODgM)\r\n* [poll log](https://brid.gy/log?start_time=1444790560&key=aglzfmJyaWQtZ3lyFgsSB1R3aXR0ZXIiCXNjaG5hcmZlZAw)\r\n* [propagate log](https://brid.gy/log?start_time=1446145161&key=aglzfmJyaWQtZ3lyNQsSCFJlc3BvbnNlIid0YWc6dHdpdHRlci5jb20sMjAxMzo2NTQxMjA5NzMwMDA1MTE0ODgM)"},"comment":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/comments/152299961","html_url":"https://github.com/snarfed/bridgy/issues/533#issuecomment-152299961","issue_url":"https://api.github.com/repos/snarfed/bridgy/issues/533","id":152299961,"user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T19:50:21Z","updated_at":"2015-10-29T19:50:21Z","body":"aha, this came from a poll on 10/14, and #509 was fixed on 10/16.\r\n\r\nwe should still probably explicitly prefer responses to mentions though. for example, an @-reply that links to the user's site could be found by both `get_activities` and mention search. i think."}}