You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
(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]
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user