mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 04:58:46 +00:00
2e9d7e625e
Adds server-side group and channel management, private invitations, member moderation, avatar handling, and required-channel configuration. This change also introduces SignalR group profile/member notifications, updates registration to atomically join required channels, and adds EF migration and test coverage for group membership, permissions, and invitation expiry rules.
19 lines
424 B
C#
19 lines
424 B
C#
using Govor.Domain.Models;
|
|
|
|
namespace Govor.Contracts.Responses.SignalR;
|
|
|
|
public class GroupProfileChangedResponse
|
|
{
|
|
public Guid GroupId { get; set; }
|
|
}
|
|
|
|
public enum GroupMemberStatus { Active, Banned, Left }
|
|
|
|
public class GroupMemberChangedResponse
|
|
{
|
|
public Guid GroupId { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public GroupMemberStatus Status { get; set; }
|
|
public GroupRole? Role { get; set; }
|
|
}
|