mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 04:58:46 +00:00
Add primitive groups and required channel
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.
This commit is contained in:
@@ -17,9 +17,9 @@ public class UserGroupsGetterService : IUserGroupsGetterService
|
||||
{
|
||||
return await _context.GroupMemberships
|
||||
.AsNoTracking()
|
||||
.Where(m => m.UserId == userId)
|
||||
.Where(m => m.UserId == userId && !m.IsBanned)
|
||||
.Select(m => m.ChatGroup)
|
||||
.ToListAsync();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user