Hi PeterGregory,
You can use the code below to check the user is online or not.
- protected override void OnLoad(EventArgs e)
- {
- CuteChat.ChatPortal portal = CuteChat.AppSystem.Instance.GetCurrentPortal();
- lock (portal)
- {
- if (portal.IsMessengerStarted)
- {
- CuteChat.ChatPlaceUser user = portal.Messenger.FindUser("User:David");
- if (user != null)
- {
-
- }
-
-
-
-
-
-
-
- }
- }
- base.OnLoad(e);
- }
Regards,
Ken