status: Add UserStatus model and core library for away status.

This commit is contained in:
Steve Howell
2018-12-17 15:19:18 +00:00
committed by Tim Abbott
parent e3aed0f7bc
commit a8301ca14a
5 changed files with 165 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ ALL_ZULIP_TABLES = {
'zerver_userprofile',
'zerver_userprofile_groups',
'zerver_userprofile_user_permissions',
'zerver_userstatus',
'zerver_mutedtopic',
}
@@ -191,6 +192,9 @@ NON_EXPORTED_TABLES = {
'zerver_defaultstreamgroup_streams',
'zerver_submessage',
# This is low priority, since users can easily just reset themselves to away.
'zerver_userstatus',
# For any tables listed below here, it's a bug that they are not present in the export.
}