- Added SafeAvatar component for retrieving user avatars with fallback to initials - Added a title/name for chat threads - Moved chat input to a separate component
13 lines
306 B
C#
13 lines
306 B
C#
using System;
|
|
|
|
namespace LANCommander.SDK.Models
|
|
{
|
|
public class User
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string UserName { get; set; }
|
|
public string Alias { get; set; }
|
|
|
|
public string Name => String.IsNullOrWhiteSpace(Alias) ? UserName : Alias;
|
|
}
|
|
}
|