net8, language features, bugfixes
This commit is contained in:
parent
1591618c2c
commit
ce99053a10
353 changed files with 3245 additions and 3944 deletions
|
|
@ -2,19 +2,14 @@
|
|||
|
||||
namespace Insight.Web.Models;
|
||||
|
||||
public class ChatUser
|
||||
public class ChatUser(ObjectId uid)
|
||||
{
|
||||
public ObjectId Uid { get; set; }
|
||||
public ObjectId Uid { get; set; } = uid;
|
||||
public bool Online { get; set; }
|
||||
public string? Username { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public byte[]? Avatar { get; set; }
|
||||
|
||||
public ChatUser(ObjectId uid)
|
||||
{
|
||||
Uid = uid;
|
||||
}
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj == null || GetType() != obj.GetType()) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue