42wim / matterircd

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

Add UPDATELASTVIEWED command, and make DisableAutoView work consistently #255

Closed bucko909 closed 5 years ago

bucko909 commented 5 years ago

I'd like to configure my IRC client to instruct mattermost when to deidle channels when I open them up. This means I can use the IRC client in conjunction with a web client and they won't fight.

I've tested this both for private message channels, and named channels. It doesn't work on groups, because GetChannelId doesn't consistently compute those group names (I'll make a distinct patch for that against matterbridge).

bucko909 commented 5 years ago

(This is probably my first code in Go; feel free to complain about style or my weird use of an API.)

bucko909 commented 5 years ago

https://github.com/42wim/matterbridge/pull/873 makes this work for group channels, too.

42wim commented 5 years ago

Thanks!