1,2 $ me
5 $ residents: baz, foo
+# handle query window with known user
+2 < :baz!~baz@baz.baz PRIVMSG foo :hi there
+6 < [baz] hi there
+> /privmsg baz hello, how is it going
+2 > PRIVMSG baz :hello, how is it going
+6 > [foo] hello, how is it going
+2 < :baz!~baz@baz.baz PRIVMSG foo :fine!
+6 < [baz] fine!
+
# handle non-self renaming
2 < :baz!~baz@baz.baz NICK :bazbaz
1,2 $ users:2:nick set to: [bazbaz]
-4,5 $ baz!~baz@baz.baz renames bazbaz
+4,5,6 $ baz!~baz@baz.baz renames bazbaz
# handle non-self PART in one of two inhabited channels, preserve identity into re-JOIN
2 < :bazbaz!~baz@baz.baz PART :#test
# handle non-self QUIT
2 < :bazbaz!~baz@baz.baz QUIT :Client Quit
-, $ bazbaz!~baz@baz.baz quits: Client Quit
+6 $ bazbaz!~baz@baz.baz quits: Client Quit
1,2 $ channels:#test:exits:2 set to: [QClient Quit]
1,2 $ channels:#test:user_ids set to:
1,2 $ 3
1,2 $ requesting disconnect …
2 > QUIT :ircplom says bye
2 < :foo!~foobarbaz@baz.bar.foo QUIT :Client Quit
-1,2,3,4,5 $ foo!~foobarbaz@baz.bar.foo quits: Client Quit
+1,2,3,4,5,6 $ foo!~foobarbaz@baz.bar.foo quits: Client Quit
1,2 $ channels:#testtest:exits:me set to: [QClient Quit]
1,2 $ channels:#testtest:user_ids set to:
5 $ quits: foo!~foobarbaz@baz.bar.foo: Client Quit
1,2 $ channels:#testtest:exits:me cleared
2 < ERROR :Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]
-1,2,3,4,5 $ connection_state set to: [Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]]
-1,2,3,4,5 $ connection_state set to: []
+1,2,3,4,5,6 $ connection_state set to: [Closing link: (~foobarbaz@baz.bar.foo) [Quit: ircplom says bye]]
+1,2,3,4,5,6 $ connection_state set to: []
1,2 $ isupport cleared
1,2 $ isupport:CHANTYPES set to: [#&]
1,2 $ isupport:PREFIX set to: [(ov)@+]
# check that (save TUI tests assuming start on window 0, and no 4 yet) on reconnect, all the same effects can be expected
> /reconnect
-1,2,3,4,5 $ connection_state set to: [connecting]
-1,2,3,4,5 $ connection_state set to: [connected]
+1,2,3,4,5,6 $ connection_state set to: [connecting]
+1,2,3,4,5,6 $ connection_state set to: [connected]
repeat 64:147
-repeat 158:328
+repeat 158:338
> /quit
0 <