diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-10-20 17:33:10 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-10-24 12:57:24 +0200 |
commit | 9fb4378753ddec61a504a0dec403f40d6def7e90 (patch) | |
tree | 32955930be2d97614f3ec6290f67d0556769a16e /irc/events.go | |
parent | Remove draft file (diff) |
Support for soju.im/bouncer-networks
This patch also disable the highlight on reconnect. This might be an
issue (the user would want to know when senpai is online again?), but
with multiple connections, it's bothersome to have to unread all of
them on start (it wasn't a problem with only one connection since it was
read instantly).
Now, lastbuffer.txt also contains the network ID, otherwise the user
might end up on another buffer with the same name.
This patch does not extend /r to support multiple networks (it will send
the message to the latest query, whatever the current displayed network
is).
Diffstat (limited to 'irc/events.go')
-rw-r--r-- | irc/events.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/irc/events.go b/irc/events.go index 4898c26..c90f518 100644 --- a/irc/events.go +++ b/irc/events.go @@ -75,3 +75,8 @@ type HistoryEvent struct { Target string Messages []Event } + +type BouncerNetworkEvent struct { + ID string + Name string +} |