View Issue Details

IDProjectCategoryView StatusLast Update
0005962unrealircdpublic2021-07-11 09:37
Reporterk4be Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.2.1.1 
Summary0005962: CHATHISTORY command on -H channel results in a hard error
Description
CHATHISTORY LATEST #asdfqwerty * 10
:legowisko.pirc.pl FAIL CHATHISTORY INVALID_TARGET LATEST #asdfqwerty :Messages could not be retrieved

This appears to cause bright red error messages and makes the client give up on further CHATHISTORY requests (for other channels for example).
I am testing with the only client that currently claims to support CHATHISTORY, namely gamja.
Expected behaviour would be to act like no history is stored.
TagsNo tags attached.
3rd party modules

Activities

syzop

2021-07-11 08:56

administrator   ~0022102

I think regardless to who is right, you or me, it would be a good idea to clear this up with the specification writers as currently apparently it is not clear what is "correct".
It would be wise if the specification is updated to include text on what to do in such a situation (with or without example), currently it is not covered and the case where a channel is -H or similar is a common case that several IRCds (and clients) have to deal with.

k4be

2021-07-11 09:37

developer   ~0022103

I've posted the issue to the spec thread too, as this is not limited to UnrealIRCd indeed.
https://github.com/ircv3/ircv3-specifications/issues/437#issuecomment-877704682
Unreal PR aiming for the change:
https://github.com/unrealircd/unrealircd/pull/156

Issue History

Date Modified Username Field Change
2021-07-10 22:52 k4be New Issue
2021-07-10 22:53 k4be Description Updated View Revisions
2021-07-11 08:56 syzop Note Added: 0022102
2021-07-11 09:37 k4be Note Added: 0022103