hack-chat / main

a minimal, distraction-free chat application
https://hack.chat/
1.29k stars 221 forks source link

The emote command seems broken #124

Closed henrywright closed 3 years ago

henrywright commented 3 years ago

The emote command doesn't behave as I expect. If I run this command I get no output /me text in the chat window

How is this command intended to work?

marzavec commented 3 years ago

Likely when you run the /me text command, your browser console is displaying an error, something along the lines of cannot call undefined. This is a problem with cache, ctrl+f5 on most browsers will reload the page clearing cache. This should fix the issue for you.

To further explain the problem; with the v2 protocol emotes were moved to their own event type. The old legacy client was recently updated to handle the new event and discard any other unknown events (like the new userupdate event).

I'll leave this open until I hear back.

henrywright commented 3 years ago

I tried clearing my cache. Now when I run /me hi I get this output:

@henrywright hi

Is that the expected behaviour?

marzavec commented 3 years ago

Yessir. Emotes are an old way of declaring an action within chat. To illustrate, try these within chat:

/me waves at you
/me 's butt is itchy

I'll go head and close this now :D