papercups-io/papercups

Rename "shout" event to "message:created"

Open

#156 opened on Aug 16, 2020

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Elixir (6,032 stars) (566 forks)batch import
good first issuetech debt

Description

This name is just the default event used when generating new channels in Phoenix, but let's make our event names a bit more descriptive... we already have conversation:created and conversation:updated events, so let's be consistent and add message:created in place of shout.

(Note: we'll probably need to keep "shout" around for backwards compatibility)

Contributor guide