mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
models: Add external_account in custom profile field types.
Add new custom profile field type, External account. External account field links user's social media profile with account. e.g. GitHub, Twitter, etc. Fixes part of #12302
This commit is contained in:
committed by
Tim Abbott
parent
3368589df2
commit
d7ee2aced1
@@ -24,4 +24,4 @@ UserFieldElement = Tuple[int, str, RealmUserValidator, Callable[[Any], Any], str
|
||||
|
||||
FieldTypeData = List[Union[FieldElement, ExtendedFieldElement, UserFieldElement]]
|
||||
|
||||
ProfileFieldData = Dict[str, Dict[str, str]]
|
||||
ProfileFieldData = Dict[str, Union[Dict[str, str], str]]
|
||||
|
||||
Reference in New Issue
Block a user