{"action":"created","issue":{"url":"https://api.github.com/repos/irungentoo/toxcore/issues/1487","labels_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1487/labels{/name}","comments_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1487/comments","events_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1487/events","html_url":"https://github.com/irungentoo/toxcore/issues/1487","id":123890426,"number":1487,"title":"Feature request - Ability to store custom vars for a friend in the .tox file","user":{"login":"SkyzohKey","id":8523159,"avatar_url":"https://avatars.githubusercontent.com/u/8523159?v=3","gravatar_id":"","url":"https://api.github.com/users/SkyzohKey","html_url":"https://github.com/SkyzohKey","followers_url":"https://api.github.com/users/SkyzohKey/followers","following_url":"https://api.github.com/users/SkyzohKey/following{/other_user}","gists_url":"https://api.github.com/users/SkyzohKey/gists{/gist_id}","starred_url":"https://api.github.com/users/SkyzohKey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkyzohKey/subscriptions","organizations_url":"https://api.github.com/users/SkyzohKey/orgs","repos_url":"https://api.github.com/users/SkyzohKey/repos","events_url":"https://api.github.com/users/SkyzohKey/events{/privacy}","received_events_url":"https://api.github.com/users/SkyzohKey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/irungentoo/toxcore/labels/enhancement","name":"enhancement","color":"0052cc"},{"url":"https://api.github.com/repos/irungentoo/toxcore/labels/under_discussion","name":"under_discussion","color":"733980"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-25T16:59:50Z","updated_at":"2015-12-27T07:58:26Z","closed_at":null,"body":"Hey guys,\r\nI just had an idea that it would be nice to be able to store custom variables in the .tox files for a friend (ie. alias, custom avatar path, is_blocked, etc). I mean, using the Tox API we (the clients devs) would be able to define global custom vars that would be shared between clients only using the .tox file. That would also permit to have less databases for per-friend settings which would improve clients weight.\r\n\r\nAlso, a client can choose to store nothing in the friend custom vars or to ignore the custom vars setted for this friend.\r\n\r\nHope this will be discussed in order to make Tox even better ;)"},"comment":{"url":"https://api.github.com/repos/irungentoo/toxcore/issues/comments/167391970","html_url":"https://github.com/irungentoo/toxcore/issues/1487#issuecomment-167391970","issue_url":"https://api.github.com/repos/irungentoo/toxcore/issues/1487","id":167391970,"user":{"login":"GrayHatter","id":243408,"avatar_url":"https://avatars.githubusercontent.com/u/243408?v=3","gravatar_id":"","url":"https://api.github.com/users/GrayHatter","html_url":"https://github.com/GrayHatter","followers_url":"https://api.github.com/users/GrayHatter/followers","following_url":"https://api.github.com/users/GrayHatter/following{/other_user}","gists_url":"https://api.github.com/users/GrayHatter/gists{/gist_id}","starred_url":"https://api.github.com/users/GrayHatter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrayHatter/subscriptions","organizations_url":"https://api.github.com/users/GrayHatter/orgs","repos_url":"https://api.github.com/users/GrayHatter/repos","events_url":"https://api.github.com/users/GrayHatter/events{/privacy}","received_events_url":"https://api.github.com/users/GrayHatter/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T07:58:26Z","updated_at":"2015-12-27T07:58:26Z","body":"> It is definitively not that and is in fact of quite the opposite intention, since that repo is for regulating behavior that is not enforced by core, and this issue is about adding a feature to core.\r\n\r\nI meant more that; sharing info to allow clients to be compatible with each other seems like it shouldn't be a core issue/feature. \r\n\r\nRight now (unless I'm mistaken.) Most of what's saved in toxcore saves is fixed length. some of these would need to be variable length, some are just asking for trouble, e.g. avatar paths. But even without those, the more space you make available, the larger the shellcode opportunities. \r\n\r\nWhat about a malicious client using toxcore saves to mess with other clients?"}}