Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trimmed /whowas output #4810

Open
bogdomania opened this issue Dec 26, 2023 · 2 comments
Open

Trimmed /whowas output #4810

bogdomania opened this issue Dec 26, 2023 · 2 comments
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.

Comments

@bogdomania
Copy link

bogdomania commented Dec 26, 2023

  • Node version: v20.10.0
  • Google Chrome - 120.0.6099.71 - 64bit
  • Fedora 39 - 64bit
  • The Lounge version: - 4.4.1
  • Also tested on the demo page "https://demo.thelounge.chat" - v4.4.0-pre.2

This behaviour was encountered on solanum-1.0-dev & UnrealIRCd-6.1.1.1 (different networks)

Steps to reproduce the behaviour:

  1. Connect via any client to a network (keep the same nickname, let's say... "TestNick") - x as many times you want;
  2. Connect to the same network via TheLounge(different nickname);
  3. Perform a "/whowas TestNick"
  4. TheLounge will output only the oldest entry (trimmed !?) in the whowas list, stored by ircd, not the latest.

WeeChat shows the full list, ordered by timeframe.

@bogdomania bogdomania added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Dec 26, 2023
@brunnre8
Copy link
Member

So, this is actually in irc-framework...

It overrides the cache with following messages rather than returning a list.
Can't fix there due to backwards compatibility but we can hijack the command in TL and just request a single result from the server like /whowas 1

@brunnre8
Copy link
Member

This is tracked upstream in kiwiirc/irc-framework#371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

No branches or pull requests

2 participants