{"action":"closed","issue":{"url":"https://api.github.com/repos/andOTP/andOTP/issues/80","repository_url":"https://api.github.com/repos/andOTP/andOTP","labels_url":"https://api.github.com/repos/andOTP/andOTP/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/andOTP/andOTP/issues/80/comments","events_url":"https://api.github.com/repos/andOTP/andOTP/issues/80/events","html_url":"https://github.com/andOTP/andOTP/issues/80","id":279026231,"number":80,"title":"Replace existing entries should default to false","user":{"login":"RichyHBM","id":5472275,"avatar_url":"https://avatars2.githubusercontent.com/u/5472275?v=4","gravatar_id":"","url":"https://api.github.com/users/RichyHBM","html_url":"https://github.com/RichyHBM","followers_url":"https://api.github.com/users/RichyHBM/followers","following_url":"https://api.github.com/users/RichyHBM/following{/other_user}","gists_url":"https://api.github.com/users/RichyHBM/gists{/gist_id}","starred_url":"https://api.github.com/users/RichyHBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichyHBM/subscriptions","organizations_url":"https://api.github.com/users/RichyHBM/orgs","repos_url":"https://api.github.com/users/RichyHBM/repos","events_url":"https://api.github.com/users/RichyHBM/events{/privacy}","received_events_url":"https://api.github.com/users/RichyHBM/received_events","type":"User","site_admin":false},"labels":[{"id":640549557,"url":"https://api.github.com/repos/andOTP/andOTP/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"flocke","id":76665,"avatar_url":"https://avatars3.githubusercontent.com/u/76665?v=4","gravatar_id":"","url":"https://api.github.com/users/flocke","html_url":"https://github.com/flocke","followers_url":"https://api.github.com/users/flocke/followers","following_url":"https://api.github.com/users/flocke/following{/other_user}","gists_url":"https://api.github.com/users/flocke/gists{/gist_id}","starred_url":"https://api.github.com/users/flocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flocke/subscriptions","organizations_url":"https://api.github.com/users/flocke/orgs","repos_url":"https://api.github.com/users/flocke/repos","events_url":"https://api.github.com/users/flocke/events{/privacy}","received_events_url":"https://api.github.com/users/flocke/received_events","type":"User","site_admin":false},"assignees":[{"login":"flocke","id":76665,"avatar_url":"https://avatars3.githubusercontent.com/u/76665?v=4","gravatar_id":"","url":"https://api.github.com/users/flocke","html_url":"https://github.com/flocke","followers_url":"https://api.github.com/users/flocke/followers","following_url":"https://api.github.com/users/flocke/following{/other_user}","gists_url":"https://api.github.com/users/flocke/gists{/gist_id}","starred_url":"https://api.github.com/users/flocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flocke/subscriptions","organizations_url":"https://api.github.com/users/flocke/orgs","repos_url":"https://api.github.com/users/flocke/repos","events_url":"https://api.github.com/users/flocke/events{/privacy}","received_events_url":"https://api.github.com/users/flocke/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-12-04T15:01:34Z","updated_at":"2017-12-05T06:37:24Z","closed_at":"2017-12-05T06:37:24Z","author_association":"NONE","body":"Currently the default behaviour when restoring from a backup is to wipe all entries and add the restored ones, this can cause you to lose entries if you for example added a new entry before restoring an old backup.\n\nI think by default this should be set to false, that way the worse that can happen is you end up with duplicates (which you can remove manually)\n\nIdeally we could have some logic to detect and not add duplicates, but for now I think defaulting that setting to false should suffice.\n\nThis should be an easy task if anyone wants to try some android development, else I'll do a PR later in the week\n"}}
{"actor":{"display_login":"flocke"}}