void TabRoom::processJoinRoomEvent(const Event_JoinRoom &event) { userList->processUserInfo(event.user_info(), true); userList->sortItems(); if (!autocompleteUserList.contains("@" + QString::fromStdString(event.user_info().name()))){ autocompleteUserList << "@" + QString::fromStdString(event.user_info().name()); sayEdit->setCompletionList(autocompleteUserList); } }
void IslInterface::roomEvent_UserJoined(int roomId, const Event_JoinRoom &event) { ServerInfo_User userInfo(event.user_info()); userInfo.set_server_id(serverId); emit externalRoomUserJoined(roomId, userInfo); }
void TabRoom::processJoinRoomEvent(const Event_JoinRoom &event) { userList->processUserInfo(event.user_info(), true); userList->sortItems(); }