sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
290 stars 27 forks source link

Private channels include full server user list #124

Open anlag opened 6 years ago

anlag commented 6 years ago

Membership/access in private channels doesn't appear to be respected. I've joined to a server where I'm in a some public and some private channels, the latter restricted to only a few users. Yet all channels show the same full member list of online members, as well as joins/parts for all members, even those that are not actually in the channel.

Presumably it's entirely client-side and noone who isn't in these channels will see any messages they shouldn't, but it's still pretty messy not being able to see a correct memberlist for each chat. I can disable joins/parts with exceptions for an explicit list of users that are actually in the channel, but it's static and cumbersome.

Using a git build, last commit 39a4fc6 on Jan 1 2018. bitlbee version 3.5.1.

sm00th commented 6 years ago

Yes, this is a known issue: #49 Discord doesn't send us per-channel presences or user lists, only "guild"-wide, so to limit user-lists per-channel the whole discord permissions system needs to be implemented. bitlbee-discord at the moment has no permission support and it is quite low-impact so unfortunately it probably won't get implemented any time soon.

anlag commented 6 years ago

I see, thanks for the insight. I thought it was strange I couldn't find an existing issue as it's something I would expect quite a lot of users to run into pretty quickly, at least on projects larger than a group of friends. Coming from a slightly different angle, I was apparently using the wrong search terms.

I'll have to make do with workarounds then. Probably means hiding all joins/parts in private channels; I will see them all in the big, public, general channel anyway. And just not using or trusting /names in those channels.