From e4b58325499d4ac536437dfb34cbcd2effae607f Mon Sep 17 00:00:00 2001 From: enrique conty Date: Thu, 31 Mar 2022 19:27:10 -0400 Subject: [PATCH] (Engine/Social) Report Rich Presence text for the local social user. #OKFORGITHUB PUBLIC [REVIEW] [at]Dan.Kaufman [at]Beth.Towns [at]Christopher.Daniel [at]Anthony.Glueck [at]Altair.Lane #ROBOMERGE-AUTHOR: enrique.conty #ROBOMERGE-SOURCE: CL 19579796 via CL 19579800 via CL 19579807 via CL 19579810 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697) [CL 19580690 by enrique conty in ue5-main branch] --- .../OnlineFramework/Source/Party/Private/User/SocialUser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/User/SocialUser.cpp b/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/User/SocialUser.cpp index bcbd14516798..cda9e148c159 100644 --- a/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/User/SocialUser.cpp +++ b/Engine/Plugins/Online/OnlineFramework/Source/Party/Private/User/SocialUser.cpp @@ -730,7 +730,7 @@ void USocialUser::GetRichPresenceText(FText& OutRichPresence) const { OutRichPresence = LOCTEXT("UserStatus_Blocked", "Blocked"); } - else if (IsFriend()) + else if (IsFriend() || IsLocalUser()) { const FOnlineUserPresence* PrimaryPresence = GetFriendPresenceInfo(ESocialSubsystem::Primary); if (PrimaryPresence && !PrimaryPresence->Status.StatusStr.IsEmpty())