Skip to content

Commit 919ce1a

Browse files
authored
Update ipMessagingClient to chatClient
1 parent bd156f1 commit 919ce1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ip-messaging/reachability-indicator/process-user-updates/process-user-updates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// function called after client init to set up event handlers
22
function registerEventHandlers() {
33
// Register UserInfo specific event handler
4-
ipMessagingClient.on('userInfoUpdated', handleUserUpdate(user));
4+
chatClient.on('userInfoUpdated', handleUserUpdate(user));
55
}
66

77
// function to handle any UserInfo updates
88
function handleUserUpdate(user) {
99
// handle reachability indicator
10-
if (ipMessagingClient.reachabilityEnabled) {
10+
if (chatClient.reachabilityEnabled) {
1111
// call a function which will update the relevant UI elements to show the Reachability state for the User
1212
renderUserReachability(user.online, user.notifiable);
1313
}

0 commit comments

Comments
 (0)