Multi-account Google support with user labels
This commit is contained in:
@@ -185,7 +185,7 @@ def handler(event, context):
|
||||
'user_profile': {
|
||||
'display_name': user_profile.get('display_name', actor_id),
|
||||
'telegram_username': user_profile.get('telegram_username', ''),
|
||||
'google_email': user_profile.get('google_email', ''),
|
||||
'google_accounts': user_profile.get('google_accounts', {'primary': user_profile['google_email']} if user_profile.get('google_email') else {}),
|
||||
'allowed': user_profile.get('allowed', True),
|
||||
'services': user_profile.get('enrolled_services', user_profile.get('services', {})),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user