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

fix: commands shouldn't be in ASC order #614

Merged
merged 8 commits into from
Apr 19, 2024
2 changes: 1 addition & 1 deletion src/store/modules/chat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ const actions = {
{
partnerId: contactId,
commands: messages
.filter((item) => item.message.startsWith('/'))
.filter((item) => item.message?.startsWith('/'))
PaulDremanovich marked this conversation as resolved.
Show resolved Hide resolved
.map((item) => item.message.trim())
.reverse()
},
Expand Down
Loading