侧边栏“开始新私信”供无法使用私信的用户

I just checked my forum from the perspective of a new user and found this new “start a new DM” entry in the sidebar[1]

However, the experience of using it was rather disappointing. The test user is in Chat allowed groups but not in Direct message enabled groups, so no user can be found in the search, which then opens.

After adding TL0 to 'Direct message enabled groups':

Is this intentional? Why is this visible for users who cannot use DM chats?


  1. I think it was added in UX: adds a start new dm link when no dms present by jjaffeux · Pull Request #34820 · discourse/discourse · GitHub ↩︎

1 个赞

No, not intentional — thanks for catching this. We’ll fix it up!

That should fix it thanks:

2 个赞

Is it possible to also hide the line that would usually separate the DM section from the channel section?

When the user isn’t allowed to chat at all, there is no line below the tag section. But when they are allowed to chat, but not to use DM chats, then there is a line below the Channel section.

Will look if I can do this👍

1 个赞

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.