envoylabs / whoami

An NFT-based user and smart contract nameservice
Apache License 2.0
16 stars 8 forks source link

Only clear primary alias if token is primary #50

Closed the-frey closed 2 years ago

the-frey commented 2 years ago

This ensures that only if the current token is the primary alias will it be cleared on the following actions:

Fixes #49