display-picture-changed signal is emitted with NLNs, but soon after login we don't have endpoint data yet (arrives with UBXs), so if we start transfering the dp, peer_guid is None and the transfer fails resulting in a nice kaboom.
a possible solution is emitting that signal also when an UBX is received, and make the p2p session fail when version is 2 and peer_guid is None.
emitting the signal ONLY when an UBX is received is not a viable solution since the servers send only NLNs when an user changes his/her/its picture.
display- picture- changed signal is emitted with NLNs, but soon after login we don't have endpoint data yet (arrives with UBXs), so if we start transfering the dp, peer_guid is None and the transfer fails resulting in a nice kaboom.
a possible solution is emitting that signal also when an UBX is received, and make the p2p session fail when version is 2 and peer_guid is None.
emitting the signal ONLY when an UBX is received is not a viable solution since the servers send only NLNs when an user changes his/her/its picture.