inkrement / l4-messenger

Message Package for Laravel 4.
57 stars 11 forks source link

Parameter for addUser(), email or id? #26

Open andikamri opened 9 years ago

andikamri commented 9 years ago

In the documentation I found that to add user you have to provide the user id

//add other participants $c1->addUser(array(/* some user id's please */));

But in the source code, it actually ask for user email

public function addUser(array $participantEmails){ ....

Is it typo or .. ? (for now I use the email)

Anyway, thanks for the package!