papercups-io/papercups

Rename "shout" event to "message:created"

Open

Aperta il 16 ago 2020

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Elixir (6032 star) (566 fork)batch import
good first issuetech debt

Descrizione

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)

Guida contributor