Opening a pre-filled message form no longer works


(Felix Freiberger) #1

The magic URLs for creating a pre-filled message don’t work anymore. This is a recent regression.

For example, clicking https://meta.discourse.org/new-message?group_name=team should open a message to @team (or at least show an error if that’s not possible), but for me, it currently does nothing besides redirecting to /lastest.


(Jeff Atwood) #2

Hmm, did we regress here again @sam? This has regressed multiple times now.


(Arpit Jalan) #3

As per: Compose a new pre-filled personal message via URL

The correct URL is: https://meta.discourse.org/new-message?groupname=team

… and it works as expected.


(Felix Freiberger) #4

Uh, weird. I can confirm this works, but unless I’m seriously hallucinating :crazy_face:, group_name also worked before the last beta update. (I had inserted such a URL into a newsletter-like email I sent out, and I always check these links to make sure they work.)

Anyway, thanks for correcting me :slight_smile:


(Arpit Jalan) #5

Okay, added on my list to look into this.


(Arpit Jalan) #6

I don’t think we ever supported group_name parameter as there is no source code trace for it but I added support for it regardless. Now we support both groupname and group_name parameter, if both are present the priority will be given to groupname.