Last selected buffer should be per-account, not global
Steps
- Have at least two accounts with overlapping buffer IDs on Quassel cores
- May need to have two separate cores
- Connect to first core account
- Open buffer
- Disconnect, connect to second core account
- Open buffer
- Disconnect, connect to first core account
Expected
The buffer selected the first time on first core account gets selected again when switching back to it.
Alternatively, if saving buffer IDs for multiple accounts is not desirable, no buffer is selected.
Actual
The buffer ID of the second core account gets reused when connecting back to the first core account, resulting in selecting a seemingly-random buffer.