mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-04 03:24:04 +00:00 
			
		
		
		
	Signed out user can get advanced information about groups
This commit is contained in:
		@@ -204,6 +204,10 @@ export class GroupsHelper {
 | 
			
		||||
	 * @returns Membership info / null if none found
 | 
			
		||||
	 */
 | 
			
		||||
	public static async GetMembershipInfo(groupID: number, userID: number): Promise<GroupMember> {
 | 
			
		||||
 | 
			
		||||
		if(userID == 0)
 | 
			
		||||
			return null;
 | 
			
		||||
 | 
			
		||||
		const data = await DatabaseHelper.QueryRow({
 | 
			
		||||
			table: GROUPS_MEMBERS_TABLE,
 | 
			
		||||
			where: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user