mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Send initial presence for offline friends.
This commit is contained in:
parent
2cbd983b4c
commit
573734fab8
2 changed files with 19 additions and 16 deletions
|
|
@ -1261,7 +1261,8 @@ namespace rpcn
|
|||
|
||||
std::map<std::string, friend_online_data> rpcn_client::get_presence_states()
|
||||
{
|
||||
std::lock_guard lock(mutex_friends);
|
||||
std::scoped_lock lock(mutex_friends, mutex_presence_updates);
|
||||
presence_updates.clear();
|
||||
return friend_infos.friends;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue