events: Add date_joined to user_dict.

This commit is contained in:
Vishnu Ks
2018-05-15 11:00:52 +00:00
committed by Tim Abbott
parent 47b0a0d843
commit 372e9740ac
4 changed files with 6 additions and 1 deletions

View File

@@ -431,6 +431,7 @@ def notify_created_user(user_profile: UserProfile) -> None:
full_name=user_profile.full_name,
avatar_url=avatar_url(user_profile),
timezone=user_profile.timezone,
date_joined=user_profile.date_joined.isoformat(),
is_bot=user_profile.is_bot))
send_event(event, active_user_ids(user_profile.realm_id))