mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
User must now accept invite
This commit is contained in:
parent
156bee1564
commit
8fe7c2267a
3 changed files with 117 additions and 72 deletions
|
|
@ -1037,7 +1037,7 @@ void Callback(Common_Message *msg)
|
|||
PRINT_DEBUG("Steam_Friends Got Lobby Invite\n");
|
||||
//TODO: the user should accept the invite first but we auto accept it because there's no gui yet
|
||||
// Then we will handle it !
|
||||
overlay->AddLobbyInvite(msg->source_id(), msg->friend_messages().lobby_id());
|
||||
overlay->AddLobbyInvite(*find_friend(msg->source_id()), msg->friend_messages().lobby_id());
|
||||
|
||||
//GameLobbyJoinRequested_t data;
|
||||
//data.m_steamIDLobby = CSteamID((uint64)msg->friend_messages().lobby_id());
|
||||
|
|
@ -1049,7 +1049,7 @@ void Callback(Common_Message *msg)
|
|||
PRINT_DEBUG("Steam_Friends Got Game Invite\n");
|
||||
//TODO: I'm pretty sure that the user should accept the invite before this is posted but we do like above
|
||||
// Then we will handle it !
|
||||
overlay->AddRichInvite(msg->source_id(), msg->friend_messages().connect_str().c_str());
|
||||
overlay->AddRichInvite(*find_friend(msg->source_id()), msg->friend_messages().connect_str().c_str());
|
||||
|
||||
//std::string const& connect_str = msg->friend_messages().connect_str();
|
||||
//GameRichPresenceJoinRequested_t data = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue