# URLs for message to group no longer work

**URL:** https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189
**Category:** Bug
**Created:** [16.Сентябрь.2017 16:32:26 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189 "2017-09-16T16:32:26Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [16.Сентябрь.2017 16:32:26 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/1 "2017-09-16T16:32:26Z")

</div>

There’s a [feature](https://meta.discourse.org/t/private-messages-to-a-group-or-other-means-to-handle-private-support-requests/14010) where you can create URLs to pre-compose a message to a user or a group, like this:

- for users: [https://discourse/new-message?username=fefrei](https://discourse/new-message?username=fefrei)
- for groups: [https://discourse/new-message?groupname=Team](https://discourse/new-message?groupname=Team)

The user links still work, but the group links no longer work in `Discourse 1.9.0.beta10`. They silently redirect to the main URL, but neither a composer not an error message appear.

Original report here:

> [@Private messages to a group, or other means to handle private support requests](https://meta.discourse.org/t/private-messages-to-a-group-or-other-means-to-handle-private-support-requests/14010/15):
>
> I can’t get this to work anymore. It works just fine with the username-feature, but i can’t get it to work with the groupname-feature.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [16.Сентябрь.2017 16:40:15 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/2 "2017-09-16T16:40:15Z")

</div>

confirmed on my site. group is set so everyone can message it.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [16.Сентябрь.2017 16:41:22 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/3 "2017-09-16T16:41:22Z")

</div>

Thanks!  
(Even if messaging were not allowed, an error message should appear. This was also working previously.)

---

<div class="post-metadata">

### Author: ![yeonsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yeonsh/32/119975_2.png) [@yeonsh](https://meta.discourse.org/u/yeonsh)
#### Post date: [18.Сентябрь.2017 08:06:52 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/4 "2017-09-18T08:06:52Z")

</div>

We have same issue. When I tried to send private message to a group using URL I got:

 ![Developer_Tools_-_https___discourse_bdrive_com_latest](https://global.discourse-cdn.com/meta/original/3X/f/7/f78fe494a00766ac790157ff044a29ed132c07f8.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [18.Сентябрь.2017 11:23:57 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/5 "2017-09-18T11:23:57Z")

</div>

Perhaps @gerhard can have a quick look.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [18.Сентябрь.2017 15:21:20 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/7 "2017-09-18T15:21:20Z")

</div>

Ok, this is fixed:  
[https://github.com/discourse/discourse/commit/a5408650bd693bf643c8d9d976ca56a338f9ca24](https://github.com/discourse/discourse/commit/a5408650bd693bf643c8d9d976ca56a338f9ca24)

While testing I noticed that the autocomplete in the composer for new messages doesn’t show groups unless they are mentionable. That’s probably a sideeffect of [Split into two settings: "Who can message and @mention this group?" - #5 by nbianca](https://meta.discourse.org/t/split-into-two-settings-who-can-message-and-mention-this-group/41203/5)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [12.Июнь.2018 08:11:58 UTC](https://meta.discourse.org/t/urls-for-message-to-group-no-longer-work/70189/8 "2018-06-12T08:11:58Z")

</div>


