Copyleft Games

Webchat persistent nickname changes

A student recently added a /nick command to our webchat allowing users to change their nicknames, however users must still enter this command each time they connect to chat.

Extend commands.js so that successful nickname changes (after the change is accepted by the chat room service) are stored in the browser, and when the user joins the chat room again their nickname should default to this value.

Task tags

  • xmpp
  • javascript

Students who completed this task


Task type

  • code Code
  • assessment Outreach / Research