Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

import: Import mattermost admins as Zulip owners.

Tim Abbotted498e2f8e1d
diff --git a/zerver/data_import/mattermost.py b/zerver/data_import/mattermost.py
index db7d123e76f..2de37af3f51 100644
--- a/zerver/data_import/mattermost.py
+++ b/zerver/data_import/mattermost.py
@@ -80,7 +80,7 @@ def process_user(user_dict: Dict[str, Any], realm_id: int, team_name: str,
role = UserProfile.ROLE_MEMBER
if is_team_admin(user_dict):
- role = UserProfile.ROLE_REALM_ADMINISTRATOR
+ role = UserProfile.ROLE_REALM_OWNER
if user_dict["is_mirror_dummy"]:
is_active = False