Skip to content

listenForWhisper doesn't seem to be working #23

Description

@sergiocastrovale

I can't seem to make whispers go from one end to the other. Here's my code:

answers.vue (a user clicks on an answer, a whisper is sent)

  this.$echo.private('answer')
      .whisper('answering', {
          userId: this.$auth.user().id
      })

manage.vue (where the owner should receive the whisper)

  mounted () {
    this.$echo.private('answer')
      .listenForWhisper('answering', (e) => {
        console.log('answering ...', e);
      })
  },

Whenever I try to whisper, nothing happens. Any idea why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions