This can happen especially over a slow connection, like when testing on mobile with the ssh -R 80:localhost:8000 nokey@localhost.run service.
What happens is you click on a user's icon and then click the "Send message" button. It takes a while to create the new DM contract, and in that time you can press the button again, multiple times, and each time it's pressed a new DM contract to that same user will be created.
Solution
Disable this "Send message" button until the DM contract is finished creating.
Problem
This can happen especially over a slow connection, like when testing on mobile with the
ssh -R 80:localhost:8000 nokey@localhost.run
service.What happens is you click on a user's icon and then click the "Send message" button. It takes a while to create the new DM contract, and in that time you can press the button again, multiple times, and each time it's pressed a new DM contract to that same user will be created.
Solution
Disable this "Send message" button until the DM contract is finished creating.