discord/embedded-app-sdk

Instance ID changes on activity pop out

joeynenni opened this issue · 1 comments

I am using the discord activity instance ID as the game room ID for games on my backend. This works well as everyone joining the activity will end up in the same game. However, when you use the "Pop Out" button on discord desktop it warns you and says "Are you sure? This will refresh the activity.". If you proceed, you end up with a new activity instance ID.

UPDATE: I tested it with two players already in the instance and the instance ID does not change. This problem only exists when there is only one person in the instance and the use the "Pop Out" feature. This is still an issue but not nearly as bad as I had thought.

Thanks for calling this out. We've tracked the issue internally and will try to patch it. A fix will not result in any changes in this SDK.