@page "/chat/social"
@using Microsoft.EntityFrameworkCore
@using SOR.Database.Contexts
@using SOR.Database.Entities.Identity
@using SOR.Database.Enums
@inject ChatDbContext ChatDb
@inject SorIdentityDbContext IdentityDb
| Account ID | Name | Since | |
|---|---|---|---|
| @f.AccountId | @f.DisplayName | @f.Since.ToString("yyyy-MM-dd") | |
| No friends. | |||
| Direction | Other Account | Name | Since | |
|---|---|---|---|---|
| @(r.IsIncoming ? "Incoming" : "Outgoing") | @r.AccountId | @r.DisplayName | @r.CreatedAt.ToString("yyyy-MM-dd") | |
| No pending requests. | ||||
| Account ID | Name | Blocked At | |
|---|---|---|---|
| @b.AccountId | @b.DisplayName | @b.BlockedAt.ToString("yyyy-MM-dd") | |
| Not blocking anyone. | |||