Contact adding is still broken
Netlog/debug log:
[10:49:14 0B3C] CToxProto::AddToList: you cannot add yourself to friend list
[10:49:15 0B3C] CToxProto::AddToList: you cannot add yourself to friend list
[10:49:15 0B3C] CToxProto::AddToList: you cannot add yourself to friend list
[10:49:16 0B3C] CToxProto::AddToList: you cannot add yourself to friend list
I think that the search result (when right-clicking) returns the user's own tox protocol ID. This is also why right-clicking and selecting "user details" shows my own details; not the person I'm trying to add.
This happens with both tox ID and toxme.se search result because the "add contact" dialogue is in the end the same kind of dialogue.
Additionally:
I noticed a strange behavior with Tox after the last changes (though it may have nothing to do with them).
If I go online with Tox, sometimes it gets stuck in the "connecting" phase. I.e. netlog says this:
[10:50:36 0E0C] Setting protocol/module name to 'Toxanda'
[10:50:47 0E0C] CToxProto::SetStatus: changing status from 40071 to 40072
[10:50:47 1704] CToxProto::PollingThread: entering
And nothing will happen even if you leave it up for several minutes.
However, if you switch to offline and online again, the protocol reconnects immediately (or very quickly):
Not sure what this is related to, but my connection is stable, 240/20Mbit optics, so it's not the connection.