File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/org/phoenixframework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ class Presence(channel: Channel, opts: Options = Options.defaults) {
268268 val state = cloneState(currentState)
269269
270270 // Sync the joined states and inform onJoin of new presence
271- diff[" joins" ]?.forEach { key, newPresence ->
271+ diff[" joins" ]?.forEach { ( key, newPresence) ->
272272 val currentPresence = state[key]
273273 state[key] = cloneMap(newPresence)
274274
@@ -288,7 +288,7 @@ class Presence(channel: Channel, opts: Options = Options.defaults) {
288288 }
289289
290290 // Sync the left diff and inform onLeave of left presence
291- diff[" leaves" ]?.forEach { key, leftPresence ->
291+ diff[" leaves" ]?.forEach { ( key, leftPresence) ->
292292 val curPresence = state[key] ? : return @forEach
293293
294294 val refsToRemove = leftPresence[" metas" ]!! .map { it[" phx_ref" ] as String }
You can’t perform that action at this time.
0 commit comments