{"action":"created","issue":{"url":"https://api.github.com/repos/tux3/qTox/issues/2292","labels_url":"https://api.github.com/repos/tux3/qTox/issues/2292/labels{/name}","comments_url":"https://api.github.com/repos/tux3/qTox/issues/2292/comments","events_url":"https://api.github.com/repos/tux3/qTox/issues/2292/events","html_url":"https://github.com/tux3/qTox/issues/2292","id":108215253,"number":2292,"title":"[Regression] qTox lost all my sent messages from few last days","user":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tux3/qTox/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/tux3/qTox/labels/I-bug","name":"I-bug","color":"fc2929"},{"url":"https://api.github.com/repos/tux3/qTox/labels/P-medium","name":"P-medium","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-24T21:12:44Z","updated_at":"2015-09-27T18:47:16Z","closed_at":null,"body":"qTox 1673b43e26c853f6446f228fec083af166cbf446 , has happened also on some earlier version.\r\n\r\nI don't have any of my sent sent messages in my history after restarting qTox (all received messages are still shown), for past 8 days.\r\n\r\nSeems like a recent regression, I'll try to track it down later with bisect."},"comment":{"url":"https://api.github.com/repos/tux3/qTox/issues/comments/143585515","html_url":"https://github.com/tux3/qTox/issues/2292#issuecomment-143585515","issue_url":"https://api.github.com/repos/tux3/qTox/issues/2292","id":143585515,"user":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T18:47:16Z","updated_at":"2015-09-27T18:47:16Z","body":"So. I could reproduce that with only 1 profile. Weird.\r\n\r\nI've checked out to 47c4fab08bcecf31278cad9e78870a1161a618d0 and apparently things worked, whereas master (42c29c8b8fa5e719c9c78c15f109b358c9225c0c) didn't work.\r\n\r\nI've used those points for bisect.\r\n\r\n```\r\n564b32eb7c196b39016dfd67c5c4260fb78b8fca is the first bad commit\r\ncommit 564b32eb7c196b39016dfd67c5c4260fb78b8fca\r\nAuthor: PKEv <pkev@yandex.ru>\r\nDate:   Fri Aug 28 00:07:24 2015 +0300\r\n\r\n    save alias\r\n\r\n:040000 040000 1196607a9e8b65efc52c9173df7bb392c01111bf 615e6e3a8011634624495e40030d088164825706 M\tsrc\r\n```\r\n\r\nAfter reverting 564b32eb7c196b39016dfd67c5c4260fb78b8fca things work correctly.\r\n\r\n@PKEv could you fix that? I think that problem exists when own nick ends with null character."}}