Skip to content

histserv delete now requires two params#1927

Merged
slingamn merged 1 commit intoergochat:masterfrom
FiskFan1999:deletemessagewarn
Apr 3, 2022
Merged

histserv delete now requires two params#1927
slingamn merged 1 commit intoergochat:masterfrom
FiskFan1999:deletemessagewarn

Conversation

@FiskFan1999
Copy link
Copy Markdown
Contributor

Fixes #1881 . As per discussion with @slingamn on irc, this is fixed by requiring two parameters for all cases, instead of allowing one parameter for cases when persistent database storage is used. Also deleted the extra logic for number of params at the beginning of histservDeleteHandler which is now not necessary.

Also modified the bits of help to represent the target param as necessary ([] -> <>). Let me know if I missed anything else, thank you.

@slingamn
Copy link
Copy Markdown
Member

slingamn commented Apr 3, 2022

Excellent, thanks!

@slingamn slingamn merged commit ac2fc0d into ergochat:master Apr 3, 2022
@FiskFan1999 FiskFan1999 deleted the deletemessagewarn branch April 3, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spurious success message when deleting ephemeral history message

2 participants