Skip to content

Commit a20dfc9

Browse files
authored
Merge pull request #1424 from HuangFeiPeng/patch-7
Update connection.md
2 parents b516224 + 63a1ee6 commit a20dfc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/document/harmonyos/connection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let connectionListener: ConnectionListener = {
1717
// 长连接断开
1818
},
1919
onLogout: (errorCode: number, info: LoginExtInfo): void => {
20-
// 触发退出,需要主动调用 ChatClient#logout 方法
20+
// 该监听触发后,需要主动调用 ChatClient#logout 方法
2121
},
2222
onTokenExpired: (): void => {
2323
// 使用 token 登录时,token 过期触发。
@@ -53,4 +53,4 @@ ChatClient.getInstance().removeConnectionListener(connectionListener);
5353
- 用户在另一设备登录,将当前设备上登录的用户踢出,提示错误码 206。
5454
- 用户登录设备数量超过限制,提示错误码 214。
5555
- 应用程序的日活跃用户数量(DAU)或月活跃用户数量(MAU)达到上限,提示错误码 8。
56-
- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。
56+
- 开启多设备服务后,用户在其他设备上通过调用 API 或者管理后台将当前设备登录的 ID 强制退出登录(错误码 217)。

0 commit comments

Comments
 (0)