DiscordMessenger / dm

Discord Messenger is a free Discord-compatible messaging client targeting both new and old Windows.
MIT License
809 stars 13 forks source link

Can't start a DM conversation #11

Open rari-teh opened 2 months ago

rari-teh commented 2 months ago

System: Windows XP SP3 x86
Version: 1.00 MSVC

If I try to start a DM conversation with a friend, I get an invalid request error pop-up. If the DM chain already exists or the other party starts the conversation, I can send messages normally.

popup

iProgramMC commented 2 months ago

How exactly are you starting a new DM? Discord Messenger doesn't give you that option.

rari-teh commented 2 months ago

If you add a new friend on the official client, it will show on the DMs sidebar on Discord Messenger regardless of whether a message has been sent before or not

iProgramMC commented 2 months ago

This behavior happens on Discord as well, where when you accept a friend request, your new friend's name shows in the DM list. I'm not totally sure how to fix this.

rari-teh commented 2 months ago

I don’t think I expressed myself well, sorry. When you click on your new friend’s name on the DM list, you get an empty chat. That is expected behaviour. However, you can’t start a conversation. If you try sending any message, you get the popup error I screenshotted. Once your friend messages you, or you message them through an official client, then you can exchange DMs normally.

iProgramMC commented 2 months ago

You did, this is normal discord client behavior. When you accept a friend request, their name shows up in your DM list; this appears to be a temporary channel where sending a message actually creates the channel! Since Discord Messenger doesn't have the ability to create DM channels (and probably will never due to antispam concerns), I will need to look for a way to rectify this problem for a better UX. (Preferably without resorting to hacks that check if a friend request was accepted around the same time that the channel was created)

iProgramMC commented 1 month ago

This is weirder than I thought. As it turns out, the official Discord client is performing the same kind of request (POST), AND the same payload. Weird.

image Screenshot 2024-05-25 185209