adjust visibility flags, improve chat functionality, bump submodules

This commit is contained in:
2025-12-18 20:49:38 +09:00
parent 7b4e42c487
commit 4ffc2247b2
12 changed files with 281 additions and 95 deletions

View File

@@ -327,7 +327,12 @@ public class LightlessProfileManager : MediatorSubscriberBase
if (profile == null)
return null;
var userData = profile.User;
if (profile.User is null)
{
Logger.LogWarning("Lightfinder profile response missing user info for CID {HashedCid}", hashedCid);
}
var userData = profile.User ?? new UserData(hashedCid, Alias: "Lightfinder User");
var profileTags = profile.Tags ?? _emptyTagSet;
var profileData = BuildProfileData(userData, profile, profileTags);
_lightlessProfiles[userData] = profileData;