Skip to content

Commit

Permalink
fix: onMemberCountUpdated issue on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Jun 5, 2023
1 parent 472f23d commit 9d425f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -5,6 +5,9 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
4 changes: 2 additions & 2 deletions ios/Classes/RTMChannel.swift
Expand Up @@ -38,9 +38,9 @@ class RTMChannel: NSObject, FlutterStreamHandler, AgoraRtmChannelDelegate {
return nil
}

func channel(_ channel: AgoraRtmChannel, memberCountUpdated memberCount: Int32) {
func channel(_ channel: AgoraRtmChannel, memberCount count: Int32) {
sendEvent(eventName: "onMemberCountUpdated", params: [
"memberCount": memberCount,
"memberCount": count,
])
}

Expand Down

0 comments on commit 9d425f8

Please sign in to comment.