supabase-community / realtime-py

A Python Client for Phoenix Channels
MIT License
118 stars 47 forks source link

Update channel.py #120

Open ecerny opened 2 months ago

ecerny commented 2 months ago

joining a channel should send the params

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

the params dict, if given in Socket(), is not used when joining a channel - an empty dict is sent instead.

What is the new behavior?

The params dict, if given, is used when joining a channel. If params is not given in Socket(), then the behaviour is the same as before - an empty dict