42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
295 stars 60 forks source link

Mesages from some channels go to '&messages' channel #140

Closed dmrlawson closed 6 years ago

dmrlawson commented 6 years ago

matterircd version: 0.16.2 21dd4d1 Client: hexchat 2.12.4

Recently we updated to the latest version of matterircd. Upon reconnecting, my client connected to a channel called '&messages' and some messages from some channels now appear in this new channel and not in the channel they're supposed to be in.

I've tried reconnecting and leaving and joining affected channels but the issue still occurs.

Is this a known issue? Is there anything I can do to debug it?

42wim commented 6 years ago

Hm that shouldn't happen.

Are you using a matterircd.toml file ? Are those maybe new created channels (after you logged in) ?

dmrlawson commented 6 years ago

I don't think we're using a matterircd.toml file. The channels definitely existed beforehand.

Messages in '&messages' appear to come from 'user/#channel' if that helps.

42wim commented 6 years ago

Yes, they are supposed to do that if specified in the toml file (the &messages channel exist so that channels you don't want to join on irc get grouped together there)

But if you don't use a config file, it should work like before.

dmrlawson commented 6 years ago
jemershaw commented 6 years ago

I am having this same issue but it is when messages have attachments with the "fallback" key it sends it into the &messages channel.

curl -d 'payload={"channel": "#test", "username": "bottest", "attachments": [{ "fallback":"test", "text":"blah" }], "icon_emoji": ":ghost:", "icon_url": "" }' $URL

Mattermost version: 4.2.0 Matterircd version: 0.16.3

42wim commented 6 years ago

@jemershaw thanks for the extra hint I think it's fixed now.

@dmrlawson or @jemershaw Can you rebuild from master to confirm this ? (or do you need binaries)

jemershaw commented 6 years ago

@42wim It seemed to fix the fallback issue, need to wait to see if any other messages send into the &message channel.

jemershaw commented 6 years ago

I haven't noticed anything going into &messages, so I think you should be able to resolve this.

dmrlawson commented 6 years ago

I think we'll need binaries. Sounds like it might be resolved though, thanks for looking into it.

42wim commented 6 years ago

version 0.16.4 is released