added online status for FS

This commit is contained in:
csoler 2022-10-25 14:19:57 +02:00
parent 24ad687c7f
commit 4d386e9cf1

View File

@ -134,6 +134,9 @@ void FriendServerControl::handleEvent_main_thread(std::shared_ptr<const RsEvent>
case RsFriendServerEventCode::PEER_INFO_CHANGED: updateContactsStatus(); case RsFriendServerEventCode::PEER_INFO_CHANGED: updateContactsStatus();
break; break;
case RsFriendServerEventCode::FRIEND_SERVER_STATUS_CHANGED: updateFriendServerStatusIcon(fe->mFriendServerStatus == RsFriendServerStatus::ONLINE);
break;
default: default:
case RsFriendServerEventCode::UNKNOWN: break; case RsFriendServerEventCode::UNKNOWN: break;
} }