I noticed some strange/buggy behavior with tox profile.
Clean miranda, latest dev build, only plugins are tox and clist_nicer and history++.
Create new tox profile. Profile created, cannot sign in -> have to go into network->tox and click "Create profile", or click "Create profile" on the account screen. Not intuitive - should probably warn the user that he has to do this (or import a tox profile) otherwise it won't work.
After creating the profile, a <profilename>.tox file is created in your profile folder; however, the .tox file is 0b in size and contains nothing. Setting your nick or changing any settings has no effect until you log in; if you set your nick before you log in, it is overwritten with an empty string (from the empty profile, I assume). This should be stated (that it is only possible to change your name when you're logged in.)
Once you log in for the first time, the tox profile will have your tox ID in it.
Adding someone from miranda when miranda is the requestor of the friend request -> you can add them, they will see the request and add you, but when you then exit miranda, the profile size will remain the same as before and the new contact information is not stored. When you then exit miranda and start it up again, you will see that contact in your friendlist, however this is just internal miranda contact store and not an actual contact in tox protocol. You will NOT be able to message this person or see them online again. It will say "The friend number did not designate a valid friend" if you try to message them regardless.
Adding someone from miranda when miranda is the acknowledger of the friend request-> their name will OVERWRITE the previously added contact since I assume their friend "id" is now 0 (as in the first friend) so whoever was added previously is out of luck. The history and everything else will now belong to the newly added user. The save file now grows a little with the new actually-added tox id. When you exit and restart miranda, then, before you log in, the newly added user will have the PREVIOUS USER'S NAME, but will actually keep the history. Once you log in, that user's name will become their TOX ID (long hash). Once both of you are online, that user's TOX ID-name will become their actual name.
Long story short, miranda is mutilating tox profile somehow by overwriting the last added person and not saving new changes.
Please if you can, fix this as soon as possible. Thank you!
To the other users of tox, do NOT add new people on your contact list right now - or temporarily export your tox profile, use it in uTox/qTox and then import it back. It's fixed!