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.

mattermost_importer: Handle export output from newer mmctl versions.

PieterCKbc042885381a
diff --git a/starlight_help/src/content/docs/import-from-mattermost.mdx b/starlight_help/src/content/docs/import-from-mattermost.mdx
index 361d854a859..e41b6a2ab52 100644
--- a/starlight_help/src/content/docs/import-from-mattermost.mdx
+++ b/starlight_help/src/content/docs/import-from-mattermost.mdx
@@ -5,6 +5,7 @@ title: Import from Mattermost
import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
+import ZulipNote from "../../components/ZulipNote.astro";
import ImportGetYourOrganizationStarted from "../include/_ImportGetYourOrganizationStarted.mdx";
import ImportHowUsersWillLogIn from "../include/_ImportHowUsersWillLogIn.mdx";
import ImportIntoASelfHostedServerDescription from "../include/_ImportIntoASelfHostedServerDescription.mdx";
@@ -48,52 +49,75 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
```bash "<username>" "<server_ip>"
ssh <username>@<server_ip>
```
- 1. Navigate to the directory which contains the Mattermost executable.
- On a default install of Mattermost, the directory is `/opt/mattermost/bin`.
+ 1. Navigate to the `../server/bin/` directory in your Mattermost installation and
+ locate the `mmctl` executable. All subsequent `mmctl` commands are executed
+ using this executable.
+ 1. Log in to a `mmctl` instance.
+ ```bash "<server_ip>"
+ mmctl auth login <server_ip>
+ ```
+ You’ll be prompted for a username (use your admin user), password, and for a
+ connection name. The connection name can be anything you want.
+ 1. Create a full export of the server, including attached files.
```bash
- cd /opt/mattermost/bin
+ mmctl export create
```
- 1. Create an export of all your Mattermost teams, as a tar file.
+ <ZulipNote>
+ If you're on version \< `7.3.0`, you need to include the `--attachments`
+ argument when calling the command above to export attachment files.
+ </ZulipNote>
+ 1. List all of the exports on the server, and copy the name of the
+ latest one to your clipboard.
```bash
- sudo ./mattermost export bulk export.json --all-teams --attachments
- mkdir -p exported_emoji
- tar --transform 's|^|mattermost/|' -czf export.tar.gz \
- data/ exported_emoji/ export.json
+ mmctl export list
```
- 1. Exit your shell on the Mattermost server.
+ 1. Download the export file to the server, replacing `latest_export`
+ with the actual file name from the previous step and `/local/dir/`
+ with the download destination.
```bash
- exit
+ mmctl export download latest_export.zip /local/dir/latest_export.zip
```
- 1. Finally, copy the exported tar file from the server to your local
- computer. You may need to replace `/opt/mattermost/bin/` with the
- path to your Mattermost installation.
+ 1. Finally, copy the exported zip to your local computer.
```bash "<username>" "<server_ip>"
- scp <username>@<server_ip>:/opt/mattermost/bin/export.tar.gz .
+ scp <username>@<server_ip>:latest_export.zip /local/dir
```
</Steps>
</TabItem>
<TabItem label="Cloud instance">
<Steps>
- 1. Make sure you have [mmctl](https://github.com/mattermost/mmctl) installed - these
- instructions assume your version is `7.5.1` or higher.
- 1. Log into your Mattermost Cloud instance using your administrator credentials.
- ```bash "yourdomain"
- mmctl auth login https://yourdomain.cloud.mattermost.com
+ 1. Log in to your Mattermost cloud instance.
+ 1. Navigate to the `../server/bin/` directory in your Mattermost installation and
+ locate the `mmctl` executable. All subsequent `mmctl` commands are executed
+ using this executable.
+ 1. Log in to a `mmctl` instance.
+ ```bash "<server_ip>"
+ mmctl auth login <server_ip>
```
+ You’ll be prompted for a username (use your admin user), password, and for a
+ connection name. The connection name can be anything you want.
1. Create a full export of the server, including attached files.
```bash
mmctl export create
```
+ <ZulipNote>
+ If you're on version \< `7.3.0`, you need to include the `--attachments`
+ argument when calling the command above to export attachment files.
+ </ZulipNote>
1. List all of the exports on the server, and copy the name of the
latest one to your clipboard.
```bash
mmctl export list
```
- 1. Download the export to your local computer, replacing
- `latest_export` with the actual file name from the previous step.
+ 1. Download the export file to the server, replacing `latest_export`
+ with the actual file name from the previous step and `/local/dir/`
+ with the download destination.
```bash
- mmctl export download latest_export.zip
+ mmctl export download latest_export.zip /local/dir/latest_export.zip
+ ```
+ 1. Finally, copy the exported zip file to your local computer.
+ ```bash "<username>" "<server_ip>"
+ scp <username>@<server_ip>:latest_export.zip /local/dir
```
</Steps>
</TabItem>
@@ -104,29 +128,36 @@ Replace `<username>` and `<server_ip>` with the appropriate values below.
```bash "<username>" "<server_ip>"
ssh <username>@<server_ip>
```
- 1. Navigate to the Mattermost docker directory. On most installs, the
- directory should be `mattermost-docker`.
+
+ 1. Navigate to the `../server/bin/` directory in your Mattermost installation and
+ locate the `mmctl` executable. All subsequent `mmctl` commands are executed
+ using this executable.
+
+ 1. Create a full export of the server, including attached files.
```bash
- cd mattermost-docker/
+ docker exec -it mattermost-docker_app_1 mmctl export create
```
- 1. Create an export of all your Mattermost teams, as a tar file.
+ <ZulipNote>
+ If you're on version \< `7.3.0`, you need to include the `--attachments`
+ argument when calling the command above to export attachment files.
+ </ZulipNote>
+
+ 1. List all of the exports on the server, and copy the name of the
+ latest one to your clipboard.
```bash
- docker exec -it mattermost-docker_app_1 mattermost \
- export bulk data/export.json --all-teams --attachments
- cd volumes/app/mattermost/data/
- mkdir -p exported_emoji
- tar --transform 's|^|mattermost/|' -czf export.tar.gz \
- data/ exported_emoji/ export.json
+ docker exec -it mattermost-docker_app_1 mmctl export list
```
- 1. Exit your shell on the Mattermost server.
+
+ 1. Download the export file to the server, replacing `latest_export`
+ with the actual file name from the previous step and `/local/dir/`
+ with the download destination.
```bash
- exit
+ docker exec -it mattermost-docker_app_1 mmctl export download latest_export.zip /local/dir/latest_export.zip
```
- 1. Finally, copy the exported tar file from the server to your local
- computer. You may need to replace `mattermost-docker` with the
- appropriate path for your installation.
+
+ 1. Finally, copy the exported zip file to your local computer.
```bash "<username>" "<server_ip>"
- scp <username>@<server_ip>:mattermost-docker/volumes/app/mattermost/data/export.tar.gz .
+ scp <username>@<server_ip>:latest_export.zip /local/dir
```
</Steps>
</TabItem>
diff --git a/zerver/data_import/mattermost.py b/zerver/data_import/mattermost.py
index 9526791ac85..1fee0066bac 100644
--- a/zerver/data_import/mattermost.py
+++ b/zerver/data_import/mattermost.py
@@ -316,13 +316,17 @@ def convert_direct_message_group_data(
) -> list[ZerverFieldsT]:
zerver_direct_message_group = []
for direct_message_group in direct_message_group_data:
- direct_message_group_members = frozenset(
- {
- username
- for username in direct_message_group["members"]
- if user_id_mapper.has(username)
+ group_member_usernames = (
+ direct_message_group["members"]
+ if "members" in direct_message_group
+ else {
+ participant_data["username"]
+ for participant_data in direct_message_group["participants"]
}
)
+ direct_message_group_members = frozenset(
+ {username for username in group_member_usernames if user_id_mapper.has(username)}
+ )
if len(direct_message_group_members) > 2 or settings.PREFER_DIRECT_MESSAGE_GROUP:
if subscriber_handler.get_zulip_recipient_id(direct_message_group_members):
@@ -558,7 +562,12 @@ def process_raw_message_batch(
elif "pm_members" in raw_message:
is_direct_message_type = True
members = raw_message["pm_members"]
- member_ids = {user_id_mapper.get(member) for member in members}
+ member_ids = {
+ user_id_mapper.get(member) for member in members if user_id_mapper.has(member)
+ }
+ if len(member_ids) < 2: # nocoverage
+ # TODO: Convert direct message from deleted user and bot user.
+ continue
pm_members[message_id] = member_ids
other_user_mattermost_id = (
members[1] if sender_user_id == user_id_mapper.get(members[0]) else members[0]
@@ -718,6 +727,10 @@ def process_posts(
# For DM to one's self, the user's username appear twice in
# "channel_members".
message_dict["pm_members"] = channel_members
+ else: # nocoverage
+ # DM from unconverted users to themselves or 1-1 DM an unconverted user
+ # from a converted user.
+ return None
else:
raise AssertionError("Post without channel or channel_members key.")
@@ -934,14 +947,20 @@ def label_mirror_dummy_users(
for post in mattermost_data["post"]["channel_post"]:
post_team = post["team"]
if post_team == team_name:
- user = username_to_user[post["user"]]
+ user = username_to_user.get(post["user"])
+ if user is None:
+ # This is probably deleted user or bot user, we currently don't
+ # convert those yet.
+ continue
if not check_user_in_team(user, team_name):
user["is_mirror_dummy"] = True
if num_teams == 1:
for post in mattermost_data["post"]["direct_post"]:
assert "team" not in post
- user = username_to_user[post["user"]]
+ user = username_to_user.get(post["user"])
+ if user is None:
+ continue
if not check_user_in_team(user, team_name):
user["is_mirror_dummy"] = True
@@ -960,6 +979,8 @@ def mattermost_data_file_to_dict(mattermost_data_file: str) -> dict[str, Any]:
mattermost_data["post"] = {"channel_post": [], "direct_post": []}
mattermost_data["emoji"] = []
mattermost_data["direct_channel"] = []
+ mattermost_data["role"] = []
+ mattermost_data["bot"] = []
with open(mattermost_data_file, "rb") as fp:
for line in fp:
@@ -981,8 +1002,19 @@ def do_convert_data(mattermost_data_dir: str, output_dir: str, masking_content:
if os.listdir(output_dir): # nocoverage
raise Exception("Output directory should be empty!")
- mattermost_data_file = os.path.join(mattermost_data_dir, "export.json")
- mattermost_data = mattermost_data_file_to_dict(mattermost_data_file)
+ # Older versions of Mattermost CLI generate export.json while newer versions of
+ # mmctl generate import.jsonl.
+ import_jsonl_file = os.path.join(mattermost_data_dir, "import.jsonl")
+ export_json_file = os.path.join(mattermost_data_dir, "export.json")
+
+ if os.path.exists(import_jsonl_file):
+ mattermost_data = mattermost_data_file_to_dict(import_jsonl_file)
+ elif os.path.exists(export_json_file):
+ mattermost_data = mattermost_data_file_to_dict(export_json_file)
+ else:
+ raise AssertionError(
+ f"Missing import.jsonl or export.json file in {mattermost_data_dir}. Files: {os.listdir(mattermost_data_dir)!s}",
+ )
username_to_user = create_username_to_user_mapping(mattermost_data["user"])
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/bot.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/bot.json
new file mode 100644
index 00000000000..42cbb083333
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/bot.json
@@ -0,0 +1,10 @@
+{
+ "type": "bot",
+ "bot": {
+ "username": "system-bot",
+ "owner": "admin_username",
+ "display_name": "System",
+ "description": "",
+ "delete_at": 0
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/channel.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/channel.json
new file mode 100644
index 00000000000..cb57b6bd007
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/channel.json
@@ -0,0 +1,12 @@
+{
+ "type": "channel",
+ "channel": {
+ "team": "ad-1",
+ "name": "autem-2",
+ "display_name": "commodi",
+ "type": "O",
+ "header": "consectetur iure et tempora qui maxime doloremque dicta. facere illo dolor nobis quae. nemo molestias nemo quam. molestiae nobis reiciendis quia. veritatis ipsam quam molestias consectetur numquam atque quam optio qui tenetur! aut ut repellat asperiores soluta expedita!",
+ "purpose": "omnis aut est inventore dignissimos.",
+ "deleted_at": 0
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_channel.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_channel.json
new file mode 100644
index 00000000000..f295e6d97b7
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_channel.json
@@ -0,0 +1,52 @@
+{
+ "type": "direct_channel",
+ "direct_channel": {
+ "participants": [
+ {
+ "username": "nancy.sanders",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all",
+ "email": "default",
+ "ignore_channel_mentions": "default",
+ "channel_auto_follow_threads": "off"
+ }
+ },
+ {
+ "username": "lois.harper",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all",
+ "email": "default",
+ "ignore_channel_mentions": "default",
+ "channel_auto_follow_threads": "off"
+ }
+ },
+ {
+ "username": "adam.torres",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all",
+ "email": "default",
+ "ignore_channel_mentions": "default",
+ "channel_auto_follow_threads": "off"
+ }
+ },
+ {
+ "username": "keith.ryan",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all",
+ "email": "default",
+ "ignore_channel_mentions": "default",
+ "channel_auto_follow_threads": "off"
+ }
+ }
+ ],
+ "header": "tempore ipsa omnis sunt ut vel."
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_post.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_post.json
new file mode 100644
index 00000000000..3cbb058e4d9
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/direct_post.json
@@ -0,0 +1,23 @@
+{
+ "type": "direct_post",
+ "direct_post": {
+ "channel_members": [
+ "adam.torres",
+ "rebecca.diaz",
+ "eugene.montgomery"
+ ],
+ "user": "eugene.montgomery",
+ "type": "",
+ "message": "ea ab est deserunt ipsa sequi inventore occaecati.\nharum harum officia.",
+ "props": {},
+ "create_at": 1768951608481,
+ "edit_at": 0,
+ "flagged_by": [
+ "rebecca.diaz"
+ ],
+ "reactions": null,
+ "replies": null,
+ "attachments": null,
+ "is_pinned": false
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post.json
new file mode 100644
index 00000000000..45dfc14d613
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post.json
@@ -0,0 +1,19 @@
+{
+ "type": "post",
+ "post": {
+ "team": "reiciendis-0",
+ "channel": "minus-8",
+ "user": "jason.peterson",
+ "type": "",
+ "message": "voluptas modi ipsam rerum est.\nut debitis et quia.\nexcepturi provident sint ut quia est voluptas.",
+ "props": {},
+ "create_at": 1768933960985,
+ "edit_at": 0,
+ "flagged_by": [
+ "eugene.montgomery"
+ ],
+ "reactions": [],
+ "replies": null,
+ "is_pinned": false
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post_with_replies.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post_with_replies.json
new file mode 100644
index 00000000000..021ec737670
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/post_with_replies.json
@@ -0,0 +1,48 @@
+{
+ "type": "post",
+ "post": {
+ "team": "ad-1",
+ "channel": "amet-0",
+ "user": "eugene.montgomery",
+ "type": "",
+ "message": "consequatur est reprehenderit reiciendis ratione exercitationem facilis. facere et voluptates quisquam quas laborum ut commodi aliquam qui. asperiores tempore ex molestiae ex corporis. id doloribus dolores iure est soluta ad nisi accusamus. soluta illum dicta autem dignissimos. recusandae quia tempora unde reiciendis magnam. aut quia id repellendus aut! sed et qui nesciunt nihil.",
+ "props": {},
+ "create_at": 1768916201357,
+ "edit_at": 0,
+ "flagged_by": [],
+ "reactions": [],
+ "replies": [
+ {
+ "user": "brandon.mccoy",
+ "type": "",
+ "message": "https://www.youtube.com/watch?v=mUOPxT7VgWc",
+ "props": {},
+ "create_at": 1768916284233,
+ "edit_at": 0,
+ "flagged_by": [],
+ "is_pinned": false
+ },
+ {
+ "user": "user-1",
+ "type": "",
+ "message": "quod ut voluptatem voluptatem velit.\nrepellat ut quo omnis aspernatur enim perspiciatis in architecto enim.",
+ "props": {},
+ "create_at": 1768916252899,
+ "edit_at": 0,
+ "flagged_by": [],
+ "is_pinned": false
+ },
+ {
+ "user": "user-1",
+ "type": "",
+ "message": "nisi quasi distinctio! illo et ullam magnam voluptate iure accusamus. pariatur quae quos! magnam in sunt voluptatem corrupti ullam molestiae quas. autem qui voluptatem magnam sequi quis suscipit. eveniet vel mollitia voluptatem minus quo porro necessitatibus quia sunt aut. impedit consequuntur ipsa. suscipit dolorem maiores ut occaecati eos in velit. repudiandae ex labore facere accusantium.",
+ "props": {},
+ "create_at": 1768916233181,
+ "edit_at": 0,
+ "flagged_by": [],
+ "is_pinned": false
+ }
+ ],
+ "is_pinned": false
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/role.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/role.json
new file mode 100644
index 00000000000..aa28ab0a70a
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/role.json
@@ -0,0 +1,50 @@
+{
+ "type": "role",
+ "role": {
+ "name": "team_admin",
+ "display_name": "authentication.roles.team_admin.name",
+ "description": "authentication.roles.team_admin.description",
+ "permissions": [
+ "order_bookmark_public_channel",
+ "remove_user_from_team",
+ "playbook_private_manage_roles",
+ "playbook_public_manage_roles",
+ "manage_channel_access_rules",
+ "manage_others_slash_commands",
+ "use_channel_mentions",
+ "delete_others_posts",
+ "manage_team",
+ "edit_bookmark_private_channel",
+ "add_bookmark_public_channel",
+ "manage_public_channel_members",
+ "use_group_mentions",
+ "manage_private_channel_banner",
+ "convert_private_channel_to_public",
+ "manage_channel_roles",
+ "delete_bookmark_private_channel",
+ "manage_private_channel_members",
+ "upload_file",
+ "delete_bookmark_public_channel",
+ "manage_incoming_webhooks",
+ "manage_others_incoming_webhooks",
+ "manage_slash_commands",
+ "manage_public_channel_banner",
+ "remove_reaction",
+ "read_public_channel_groups",
+ "manage_others_outgoing_webhooks",
+ "import_team",
+ "read_private_channel_groups",
+ "add_reaction",
+ "manage_outgoing_webhooks",
+ "edit_bookmark_public_channel",
+ "manage_team_roles",
+ "order_bookmark_private_channel",
+ "create_post",
+ "delete_post",
+ "add_bookmark_private_channel",
+ "convert_public_channel_to_private"
+ ],
+ "scheme_managed": true
+ }
+}
+
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/team.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/team.json
new file mode 100644
index 00000000000..c9e656f8489
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/team.json
@@ -0,0 +1,10 @@
+{
+ "type": "team",
+ "team": {
+ "name": "zulip",
+ "display_name": "zulip",
+ "type": "O",
+ "description": "",
+ "allow_open_invite": false
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/user.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/user.json
new file mode 100644
index 00000000000..8b8482143e8
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/user.json
@@ -0,0 +1,103 @@
+{
+ "type": "user",
+ "user": {
+ "profile_image": "users/19hyyxn9nbdwxe8hykj5fxmgwe/profile.png",
+ "username": "sysadmin",
+ "email": "[email protected]",
+ "auth_service": null,
+ "nickname": "",
+ "first_name": "Kenneth",
+ "last_name": "Moreno",
+ "position": "Software Test Engineer ",
+ "roles": "system_admin system_user",
+ "locale": "en",
+ "delete_at": 0,
+ "teams": [
+ {
+ "name": "ad-1",
+ "roles": "team_user",
+ "channels": [
+ {
+ "name": "sequi-7",
+ "roles": "channel_user",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all"
+ },
+ "favorite": false,
+ "mention_count": 0,
+ "mention_count_root": 0,
+ "urgend_mention_count": 0,
+ "msg_count": 0,
+ "msg_count_root": 0,
+ "last_viewed_at": 0
+ },
+ {
+ "name": "ratione-1",
+ "roles": "channel_admin channel_user",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all"
+ },
+ "favorite": false,
+ "mention_count": 0,
+ "mention_count_root": 0,
+ "urgend_mention_count": 0,
+ "msg_count": 0,
+ "msg_count_root": 0,
+ "last_viewed_at": 0
+ },
+ {
+ "name": "minus-6",
+ "roles": "channel_user",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all"
+ },
+ "favorite": false,
+ "mention_count": 0,
+ "mention_count_root": 0,
+ "urgend_mention_count": 0,
+ "msg_count": 0,
+ "msg_count_root": 0,
+ "last_viewed_at": 0
+ },
+ {
+ "name": "town-square",
+ "roles": "channel_user",
+ "notify_props": {
+ "desktop": "default",
+ "mobile": "default",
+ "mark_unread": "all"
+ },
+ "favorite": false,
+ "mention_count": 0,
+ "mention_count_root": 0,
+ "urgend_mention_count": 0,
+ "msg_count": 0,
+ "msg_count_root": 0,
+ "last_viewed_at": 0
+ }
+ ]
+ }
+ ],
+ "military_time": "false",
+ "link_previews": "false",
+ "message_display": "clean",
+ "channel_display_mode": "full",
+ "tutorial_step": "999",
+ "notify_props": {
+ "desktop": "mention",
+ "desktop_sound": "true",
+ "email": "true",
+ "mobile": "mention",
+ "mobile_push_status": "online",
+ "channel": "true",
+ "comments": "never",
+ "mention_keys": ""
+ }
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/version.json b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/version.json
new file mode 100644
index 00000000000..75372cf6c9a
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/exported_object_samples/version.json
@@ -0,0 +1,9 @@
+{
+ "type": "version",
+ "version": 1,
+ "info": {
+ "generator": "mattermost-server",
+ "version": "11.1.0 (d3ed703dc8330684952eb8d49a375bac6ea7b0c6, enterprise: false)",
+ "created": "2026-01-21T20:36:00.923742433+07:00"
+ }
+}
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/3rujg3pq7fbc8gyxmzaaqca19c/Recording 2026-01-19 203522.mp4 b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/3rujg3pq7fbc8gyxmzaaqca19c/Recording 2026-01-19 203522.mp4
new file mode 100644
index 00000000000..e4e8d89a54f
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/3rujg3pq7fbc8gyxmzaaqca19c/Recording 2026-01-19 203522.mp4 differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/hcfa68wijpgq7k9go9nmak6qza/Screenshot 2025-12-19 210913.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/hcfa68wijpgq7k9go9nmak6qza/Screenshot 2025-12-19 210913.png
new file mode 100644
index 00000000000..f97ed0716f7
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/hcfa68wijpgq7k9go9nmak6qza/Screenshot 2025-12-19 210913.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/wj79zfkun3f63k5esktmnrgcec/text file.txt b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/wj79zfkun3f63k5esktmnrgcec/text file.txt
new file mode 100644
index 00000000000..8e27be7d615
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/wj79zfkun3f63k5esktmnrgcec/text file.txt
@@ -0,0 +1 @@
+text
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/19hyyxn9nbdwxe8hykj5fxmgwe/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/19hyyxn9nbdwxe8hykj5fxmgwe/profile.png
new file mode 100644
index 00000000000..1a00829cd3f
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/19hyyxn9nbdwxe8hykj5fxmgwe/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/3iwnwsnax3ng8k6d7j6517na1y/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/3iwnwsnax3ng8k6d7j6517na1y/profile.png
new file mode 100644
index 00000000000..69b7f3147a4
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/3iwnwsnax3ng8k6d7j6517na1y/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/9wmomqujxtdmde5iqwfapa1omy/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/9wmomqujxtdmde5iqwfapa1omy/profile.png
new file mode 100644
index 00000000000..cc5fd0f42ae
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/9wmomqujxtdmde5iqwfapa1omy/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ebpx7btiqbbxtndd8sjwtyktxc/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ebpx7btiqbbxtndd8sjwtyktxc/profile.png
new file mode 100644
index 00000000000..c75fc865736
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ebpx7btiqbbxtndd8sjwtyktxc/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/fkebnazpqbyubmcypidwx41maa/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/fkebnazpqbyubmcypidwx41maa/profile.png
new file mode 100644
index 00000000000..dcf79b37b79
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/fkebnazpqbyubmcypidwx41maa/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/g5zc44h7b7nfxfq9axg56q1cyw/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/g5zc44h7b7nfxfq9axg56q1cyw/profile.png
new file mode 100644
index 00000000000..b80bf8f11a8
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/g5zc44h7b7nfxfq9axg56q1cyw/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/h7tw5exij7yodcuqch7cowdyiw/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/h7tw5exij7yodcuqch7cowdyiw/profile.png
new file mode 100644
index 00000000000..e78a7212e7b
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/h7tw5exij7yodcuqch7cowdyiw/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/j6nygk5wm7ftiy5jqwdm581euw/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/j6nygk5wm7ftiy5jqwdm581euw/profile.png
new file mode 100644
index 00000000000..d215db51443
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/j6nygk5wm7ftiy5jqwdm581euw/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/kao684wsh3gh38j4f6okwt9qmw/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/kao684wsh3gh38j4f6okwt9qmw/profile.png
new file mode 100644
index 00000000000..0e01aa78fc2
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/kao684wsh3gh38j4f6okwt9qmw/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mqrjr43uyjyi5rwn3x98sgqcxa/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mqrjr43uyjyi5rwn3x98sgqcxa/profile.png
new file mode 100644
index 00000000000..a330675c013
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mqrjr43uyjyi5rwn3x98sgqcxa/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mr6x5cuzdi815ndaqaekjayhxr/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mr6x5cuzdi815ndaqaekjayhxr/profile.png
new file mode 100644
index 00000000000..0d2fed52210
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/mr6x5cuzdi815ndaqaekjayhxr/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/n8ncm4parjdz9pd8ne8djtto8e/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/n8ncm4parjdz9pd8ne8djtto8e/profile.png
new file mode 100644
index 00000000000..80ebfcb3865
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/n8ncm4parjdz9pd8ne8djtto8e/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/nemz7fnh97gmifym1bd1yx4mzr/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/nemz7fnh97gmifym1bd1yx4mzr/profile.png
new file mode 100644
index 00000000000..d27a82b0e6e
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/nemz7fnh97gmifym1bd1yx4mzr/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ouiyzynxmtfcmgret6by3freqc/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ouiyzynxmtfcmgret6by3freqc/profile.png
new file mode 100644
index 00000000000..185a157347a
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/ouiyzynxmtfcmgret6by3freqc/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/paozx99goirobx7htxq6yec3jh/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/paozx99goirobx7htxq6yec3jh/profile.png
new file mode 100644
index 00000000000..d2252a48374
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/paozx99goirobx7htxq6yec3jh/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/pmnoihg7utdzicxkhqkk9st6ay/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/pmnoihg7utdzicxkhqkk9st6ay/profile.png
new file mode 100644
index 00000000000..56404e74a67
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/pmnoihg7utdzicxkhqkk9st6ay/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/tqk7157hujgdmdpbwf7g6fyw9h/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/tqk7157hujgdmdpbwf7g6fyw9h/profile.png
new file mode 100644
index 00000000000..89dee1bf334
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/tqk7157hujgdmdpbwf7g6fyw9h/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/wberzymrffyn5bm7arwit3xige/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/wberzymrffyn5bm7arwit3xige/profile.png
new file mode 100644
index 00000000000..285c0d7acc8
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/wberzymrffyn5bm7arwit3xige/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/yr71o1is6bna9nbgqn4c4x1ufo/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/yr71o1is6bna9nbgqn4c4x1ufo/profile.png
new file mode 100644
index 00000000000..10e420f6bcd
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/yr71o1is6bna9nbgqn4c4x1ufo/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/zywq6hxh6jgy5xy3113e9wwmjw/profile.png b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/zywq6hxh6jgy5xy3113e9wwmjw/profile.png
new file mode 100644
index 00000000000..896f6dabd05
Binary files /dev/null and b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/data/users/zywq6hxh6jgy5xy3113e9wwmjw/profile.png differ
diff --git a/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/import.jsonl b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/import.jsonl
new file mode 100644
index 00000000000..fc3fb77e0c8
--- /dev/null
+++ b/zerver/tests/fixtures/mattermost_v11.1.0_fixtures/raw_mmctl_output/import.jsonl
@@ -0,0 +1,228 @@
+{"type":"version","version":1,"info":{"generator":"mattermost-server","version":"11.1.0 (d3ed703dc8330684952eb8d49a375bac6ea7b0c6, enterprise: false)","created":"2026-01-27T22:08:15.603773825+07:00"}}
+{"type":"role","role":{"name":"playbook_admin","display_name":"authentication.roles.playbook_admin.name","description":"authentication.roles.playbook_admin.description","permissions":["playbook_private_manage_roles","playbook_private_manage_properties","playbook_public_make_private","playbook_public_manage_members","playbook_public_manage_roles","playbook_public_manage_properties","playbook_private_manage_members"],"scheme_managed":true}}
+{"type":"role","role":{"name":"run_admin","display_name":"authentication.roles.run_admin.name","description":"authentication.roles.run_admin.description","permissions":["run_manage_properties","run_manage_members"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_post_all_public","display_name":"authentication.roles.system_post_all_public.name","description":"authentication.roles.system_post_all_public.description","permissions":["use_group_mentions","create_post_public","use_channel_mentions"],"scheme_managed":false}}
+{"type":"role","role":{"name":"channel_user","display_name":"authentication.roles.channel_user.name","description":"authentication.roles.channel_user.description","permissions":["read_private_channel_groups","get_public_link","manage_private_channel_members","add_bookmark_public_channel","delete_public_channel","read_channel_content","order_bookmark_private_channel","read_channel","order_bookmark_public_channel","manage_public_channel_properties","edit_post","read_public_channel_groups","delete_bookmark_private_channel","manage_public_channel_members","use_group_mentions","remove_reaction","edit_bookmark_private_channel","edit_bookmark_public_channel","create_post","delete_post","add_bookmark_private_channel","use_channel_mentions","manage_private_channel_properties","upload_file","delete_private_channel","delete_bookmark_public_channel","add_reaction"],"scheme_managed":true}}
+{"type":"role","role":{"name":"run_member","display_name":"authentication.roles.run_member.name","description":"authentication.roles.run_member.description","permissions":["run_view"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_post_all","display_name":"authentication.roles.system_post_all.name","description":"authentication.roles.system_post_all.description","permissions":["create_post","upload_file","use_channel_mentions","use_group_mentions"],"scheme_managed":false}}
+{"type":"role","role":{"name":"system_guest","display_name":"authentication.roles.global_guest.name","description":"authentication.roles.global_guest.description","permissions":["create_group_channel","create_direct_channel"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_user","display_name":"authentication.roles.global_user.name","description":"authentication.roles.global_user.description","permissions":["view_members","delete_emojis","delete_custom_group","edit_custom_group","restore_custom_group","create_custom_group","list_public_teams","join_public_teams","create_team","create_direct_channel","create_group_channel","manage_custom_group_members","create_emojis"],"scheme_managed":true}}
+{"type":"role","role":{"name":"channel_admin","display_name":"authentication.roles.channel_admin.name","description":"authentication.roles.channel_admin.description","permissions":["edit_bookmark_private_channel","read_public_channel_groups","edit_bookmark_public_channel","order_bookmark_public_channel","remove_reaction","delete_bookmark_private_channel","manage_channel_access_rules","add_bookmark_private_channel","read_private_channel_groups","use_channel_mentions","manage_public_channel_members","manage_channel_roles","order_bookmark_private_channel","manage_public_channel_banner","delete_bookmark_public_channel","upload_file","manage_private_channel_banner","manage_private_channel_members","add_reaction","add_bookmark_public_channel","create_post","use_group_mentions"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_admin","display_name":"authentication.roles.global_admin.name","description":"authentication.roles.global_admin.description","permissions":["create_group_channel","create_compliance_export_job","sysconsole_read_authentication_saml","read_others_bots","remove_saml_idp_cert","read_compliance_export_job","sysconsole_write_authentication_email","add_bookmark_public_channel","manage_others_incoming_webhooks","manage_ldap_sync_job","edit_others_posts","remove_user_from_team","manage_elasticsearch_post_indexing_job","read_public_channel","delete_bookmark_private_channel","sysconsole_read_site_customization","manage_public_channel_banner","view_team","invalidate_caches","convert_public_channel_to_private","sysconsole_write_about_edition_and_license","sysconsole_write_experimental_features","read_data_retention_job","read_channel_content","sysconsole_write_environment_session_lengths","manage_system_wide_oauth","recycle_database_connections","manage_jobs","sysconsole_read_site_notices","create_post_public","sysconsole_write_site_file_sharing_and_downloads","manage_slash_commands","invalidate_email_invite","sysconsole_read_integrations_gif","remove_others_reactions","sysconsole_write_site_notices","read_audits","create_public_channel","sysconsole_write_authentication_ldap","sysconsole_read_user_management_permissions","sysconsole_read_environment_database","list_public_teams","sysconsole_write_authentication_signup","sysconsole_write_authentication_saml","sysconsole_read_site_users_and_teams","add_ldap_public_cert","remove_saml_private_cert","read_deleted_posts","create_ldap_sync_job","promote_guest","add_reaction","remove_ldap_public_cert","delete_others_emojis","sysconsole_write_integrations_bot_accounts","sysconsole_write_user_management_system_roles","download_compliance_export_result","manage_others_outgoing_webhooks","sysconsole_write_user_management_permissions","create_custom_group","add_saml_private_cert","get_analytics","sysconsole_read_authentication_password","get_saml_metadata_from_idp","sysconsole_read_site_ip_filters","sysconsole_read_integrations_integration_management","sysconsole_read_site_public_links","reload_config","sysconsole_read_environment_image_proxy","manage_public_channel_members","run_view","sysconsole_read_integrations_bot_accounts","edit_bookmark_private_channel","sysconsole_read_authentication_email","sysconsole_write_environment_high_availability","read_elasticsearch_post_aggregation_job","sysconsole_write_site_notifications","invite_guest","read_channel","order_bookmark_public_channel","delete_bookmark_public_channel","manage_team_roles","sysconsole_read_user_management_channels","sysconsole_read_billing","test_site_url","playbook_public_view","sysconsole_write_environment_web_server","sysconsole_write_integrations_integration_management","sysconsole_read_environment_logging","sysconsole_read_authentication_signup","import_team","manage_others_slash_commands","get_saml_cert_status","create_data_retention_job","sysconsole_write_environment_elasticsearch","sysconsole_write_experimental_feature_flags","create_user_access_token","manage_bots","manage_roles","sysconsole_write_plugins","sysconsole_write_compliance_compliance_export","run_create","edit_bookmark_public_channel","playbook_private_manage_members","sysconsole_read_integrations_cors","test_s3","playbook_public_make_private","sysconsole_write_site_public_links","sysconsole_write_environment_image_proxy","remove_saml_public_cert","delete_emojis","sysconsole_write_environment_mobile_security","upload_file","sysconsole_write_environment_file_storage","sysconsole_read_about_edition_and_license","sysconsole_read_authentication_ldap","invite_user","playbook_private_manage_roles","manage_compliance_export_job","sysconsole_read_compliance_compliance_export","list_users_without_team","manage_shared_channels","sysconsole_read_products_boards","sysconsole_write_site_customization","add_bookmark_private_channel","sysconsole_read_environment_smtp","create_post_ephemeral","sysconsole_read_site_file_sharing_and_downloads","delete_others_posts","create_elasticsearch_post_aggregation_job","sysconsole_read_environment_mobile_security","list_team_channels","manage_private_channel_members","sysconsole_read_site_localization","delete_custom_group","manage_channel_access_rules","read_public_channel_groups","create_direct_channel","create_bot","playbook_private_make_public","sysconsole_write_environment_database","sysconsole_write_user_management_teams","sysconsole_read_reporting_team_statistics","edit_post","sysconsole_read_environment_session_lengths","manage_private_channel_properties","sysconsole_read_environment_high_availability","manage_elasticsearch_post_aggregation_job","use_channel_mentions","sysconsole_write_site_posts","sysconsole_read_environment_elasticsearch","sysconsole_read_authentication_guest_access","convert_private_channel_to_public","playbook_public_manage_members","sysconsole_write_environment_performance_monitoring","sysconsole_read_authentication_openid","read_jobs","add_saml_public_cert","sysconsole_write_authentication_mfa","read_user_access_token","join_public_teams","sysconsole_write_compliance_custom_terms_of_service","remove_ldap_private_cert","playbook_private_create","add_ldap_private_cert","list_private_teams","sysconsole_write_integrations_cors","assign_system_admin_role","add_saml_idp_cert","manage_data_retention_job","sysconsole_write_reporting_site_statistics","read_ldap_sync_job","playbook_public_manage_properties","sysconsole_read_environment_file_storage","sysconsole_write_products_boards","manage_secure_connections","read_other_users_teams","sysconsole_write_user_management_users","get_logs","sysconsole_write_site_announcement_banner","sysconsole_read_environment_performance_monitoring","manage_others_bots","sysconsole_write_environment_logging","sysconsole_read_environment_developer","manage_private_channel_banner","sysconsole_write_compliance_data_retention_policy","sysconsole_write_reporting_team_statistics","delete_private_channel","sysconsole_read_experimental_features","sysconsole_write_environment_developer","create_emojis","edit_brand","sysconsole_read_compliance_data_retention_policy","sysconsole_write_user_management_channels","playbook_public_create","add_user_to_team","read_license_information","manage_oauth","manage_incoming_webhooks","sysconsole_write_site_localization","run_manage_properties","create_elasticsearch_post_indexing_job","manage_outgoing_oauth_connections","purge_elasticsearch_indexes","read_private_channel_groups","manage_custom_group_members","sysconsole_write_reporting_server_logs","sysconsole_read_environment_web_server","sysconsole_read_environment_rate_limiting","read_bots","sysconsole_write_site_ip_filters","sysconsole_read_user_management_teams","sysconsole_read_reporting_server_logs","edit_custom_group","sysconsole_write_environment_smtp","use_group_mentions","sysconsole_write_integrations_gif","sysconsole_write_authentication_openid","manage_channel_roles","sysconsole_read_user_management_users","sysconsole_write_authentication_password","manage_team","sysconsole_read_plugins","sysconsole_read_environment_push_notification_server","sysconsole_write_compliance_compliance_monitoring","sysconsole_read_user_management_system_roles","join_private_teams","order_bookmark_private_channel","get_public_link","sysconsole_read_authentication_mfa","sysconsole_write_billing","sysconsole_write_environment_rate_limiting","sysconsole_read_site_notifications","sysconsole_read_compliance_custom_terms_of_service","run_manage_members","restore_custom_group","playbook_private_view","sysconsole_write_site_users_and_teams","manage_outgoing_webhooks","sysconsole_read_experimental_feature_flags","sysconsole_read_user_management_groups","sysconsole_read_site_emoji","delete_public_channel","sysconsole_read_site_posts","use_slash_commands","remove_reaction","create_post","sysconsole_write_environment_push_notification_server","assign_bot","revoke_user_access_token","sysconsole_write_authentication_guest_access","manage_system","read_elasticsearch_post_indexing_job","manage_public_channel_properties","join_public_channels","test_ldap","sysconsole_read_site_announcement_banner","sysconsole_read_reporting_site_statistics","demote_to_guest","sysconsole_write_user_management_groups","playbook_private_manage_properties","delete_post","test_elasticsearch","manage_license_information","create_team","sysconsole_read_compliance_compliance_monitoring","test_email","view_members","playbook_public_manage_roles","edit_other_users","sysconsole_write_site_emoji","create_private_channel"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_user_access_token","display_name":"authentication.roles.system_user_access_token.name","description":"authentication.roles.system_user_access_token.description","permissions":["read_user_access_token","revoke_user_access_token","create_user_access_token"],"scheme_managed":false}}
+{"type":"role","role":{"name":"team_guest","display_name":"authentication.roles.team_guest.name","description":"authentication.roles.team_guest.description","permissions":["view_team"],"scheme_managed":true}}
+{"type":"role","role":{"name":"system_custom_group_admin","display_name":"authentication.roles.system_custom_group_admin.name","description":"authentication.roles.system_custom_group_admin.description","permissions":["restore_custom_group","manage_custom_group_members","create_custom_group","edit_custom_group","delete_custom_group"],"scheme_managed":false}}
+{"type":"role","role":{"name":"team_user","display_name":"authentication.roles.team_user.name","description":"authentication.roles.team_user.description","permissions":["list_team_channels","join_public_channels","view_team","read_public_channel","create_public_channel","add_user_to_team","playbook_private_create","create_private_channel","playbook_public_create","invite_user"],"scheme_managed":true}}
+{"type":"role","role":{"name":"playbook_member","display_name":"authentication.roles.playbook_member.name","description":"authentication.roles.playbook_member.description","permissions":["playbook_public_view","playbook_public_manage_members","playbook_public_manage_properties","playbook_private_view","playbook_private_manage_members","playbook_private_manage_properties","run_create"],"scheme_managed":true}}
+{"type":"role","role":{"name":"team_post_all","display_name":"authentication.roles.team_post_all.name","description":"authentication.roles.team_post_all.description","permissions":["upload_file","use_group_mentions","use_channel_mentions","create_post"],"scheme_managed":false}}
+{"type":"role","role":{"name":"system_manager","display_name":"authentication.roles.system_manager.name","description":"authentication.roles.system_manager.description","permissions":["recycle_database_connections","test_ldap","sysconsole_read_integrations_bot_accounts","sysconsole_read_site_announcement_banner","sysconsole_read_authentication_signup","sysconsole_write_integrations_gif","sysconsole_read_site_emoji","sysconsole_write_site_users_and_teams","manage_channel_roles","sysconsole_write_site_emoji","sysconsole_write_site_posts","sysconsole_write_site_localization","read_ldap_sync_job","sysconsole_read_authentication_mfa","manage_elasticsearch_post_indexing_job","sysconsole_read_environment_performance_monitoring","sysconsole_write_environment_developer","create_elasticsearch_post_aggregation_job","sysconsole_write_site_notices","sysconsole_write_integrations_integration_management","test_site_url","sysconsole_read_integrations_cors","delete_private_channel","sysconsole_read_environment_push_notification_server","add_user_to_team","test_s3","sysconsole_write_user_management_permissions","sysconsole_read_site_notices","list_public_teams","sysconsole_write_integrations_bot_accounts","sysconsole_read_site_file_sharing_and_downloads","sysconsole_read_environment_session_lengths","sysconsole_write_products_boards","manage_outgoing_oauth_connections","manage_team","test_elasticsearch","sysconsole_write_environment_rate_limiting","read_channel","sysconsole_read_plugins","read_public_channel","sysconsole_write_environment_push_notification_server","read_public_channel_groups","sysconsole_write_environment_session_lengths","manage_public_channel_properties","sysconsole_write_environment_file_storage","sysconsole_read_about_edition_and_license","remove_user_from_team","sysconsole_read_integrations_gif","sysconsole_read_environment_image_proxy","sysconsole_read_environment_developer","manage_elasticsearch_post_aggregation_job","sysconsole_read_authentication_guest_access","sysconsole_read_environment_rate_limiting","sysconsole_read_authentication_ldap","sysconsole_read_user_management_groups","read_private_channel_groups","purge_elasticsearch_indexes","sysconsole_read_environment_web_server","sysconsole_write_site_public_links","sysconsole_read_environment_smtp","sysconsole_read_authentication_openid","edit_brand","convert_private_channel_to_public","sysconsole_write_site_customization","sysconsole_read_user_management_channels","sysconsole_read_authentication_password","get_analytics","sysconsole_write_user_management_channels","sysconsole_read_environment_file_storage","manage_private_channel_members","sysconsole_read_site_localization","manage_private_channel_properties","view_team","sysconsole_write_environment_high_availability","sysconsole_write_site_file_sharing_and_downloads","sysconsole_read_environment_database","sysconsole_read_site_public_links","delete_public_channel","sysconsole_read_environment_high_availability","read_license_information","sysconsole_write_user_management_groups","sysconsole_write_site_notifications","sysconsole_read_user_management_permissions","read_elasticsearch_post_indexing_job","sysconsole_read_site_users_and_teams","sysconsole_read_reporting_site_statistics","list_private_teams","sysconsole_write_environment_elasticsearch","sysconsole_read_integrations_integration_management","sysconsole_read_reporting_server_logs","sysconsole_read_site_customization","reload_config","sysconsole_write_environment_logging","sysconsole_read_user_management_teams","test_email","sysconsole_read_site_notifications","sysconsole_read_authentication_email","manage_team_roles","sysconsole_read_reporting_team_statistics","sysconsole_read_authentication_saml","sysconsole_read_site_posts","sysconsole_write_environment_smtp","create_elasticsearch_post_indexing_job","convert_public_channel_to_private","sysconsole_read_environment_elasticsearch","sysconsole_write_environment_image_proxy","join_public_teams","sysconsole_read_products_boards","sysconsole_write_environment_web_server","sysconsole_write_environment_database","join_private_teams","read_elasticsearch_post_aggregation_job","sysconsole_read_environment_logging","manage_public_channel_members","sysconsole_write_integrations_cors","invalidate_caches","sysconsole_write_environment_performance_monitoring","sysconsole_write_user_management_teams","sysconsole_write_site_announcement_banner","get_logs"],"scheme_managed":false}}
+{"type":"role","role":{"name":"system_read_only_admin","display_name":"authentication.roles.system_read_only_admin.name","description":"authentication.roles.system_read_only_admin.description","permissions":["read_compliance_export_job","sysconsole_read_products_boards","read_audits","sysconsole_read_integrations_gif","sysconsole_read_site_notices","sysconsole_read_site_users_and_teams","sysconsole_read_authentication_ldap","sysconsole_read_site_customization","sysconsole_read_environment_web_server","sysconsole_read_integrations_cors","sysconsole_read_environment_logging","sysconsole_read_experimental_features","sysconsole_read_user_management_permissions","sysconsole_read_environment_rate_limiting","sysconsole_read_user_management_groups","sysconsole_read_environment_session_lengths","sysconsole_read_environment_image_proxy","sysconsole_read_site_emoji","sysconsole_read_authentication_openid","sysconsole_read_site_localization","read_data_retention_job","sysconsole_read_environment_high_availability","test_ldap","view_team","sysconsole_read_environment_developer","get_logs","read_license_information","read_elasticsearch_post_indexing_job","read_ldap_sync_job","sysconsole_read_authentication_saml","sysconsole_read_environment_performance_monitoring","list_public_teams","sysconsole_read_compliance_compliance_monitoring","read_other_users_teams","sysconsole_read_reporting_site_statistics","sysconsole_read_compliance_compliance_export","sysconsole_read_integrations_bot_accounts","read_public_channel_groups","download_compliance_export_result","sysconsole_read_site_announcement_banner","sysconsole_read_about_edition_and_license","sysconsole_read_authentication_guest_access","read_elasticsearch_post_aggregation_job","sysconsole_read_user_management_users","list_private_teams","sysconsole_read_experimental_feature_flags","sysconsole_read_site_notifications","read_channel","read_private_channel_groups","read_public_channel","sysconsole_read_reporting_server_logs","sysconsole_read_site_posts","sysconsole_read_environment_push_notification_server","sysconsole_read_authentication_email","sysconsole_read_compliance_custom_terms_of_service","sysconsole_read_site_file_sharing_and_downloads","sysconsole_read_environment_database","get_analytics","sysconsole_read_site_public_links","sysconsole_read_environment_mobile_security","sysconsole_read_authentication_password","sysconsole_read_environment_elasticsearch","sysconsole_read_user_management_teams","sysconsole_read_environment_smtp","sysconsole_read_plugins","sysconsole_read_compliance_data_retention_policy","sysconsole_read_authentication_signup","sysconsole_read_user_management_channels","sysconsole_read_reporting_team_statistics","sysconsole_read_integrations_integration_management","sysconsole_read_authentication_mfa","sysconsole_read_environment_file_storage"],"scheme_managed":false}}
+{"type":"role","role":{"name":"system_user_manager","display_name":"authentication.roles.system_user_manager.name","description":"authentication.roles.system_user_manager.description","permissions":["manage_team","remove_user_from_team","read_ldap_sync_job","add_user_to_team","sysconsole_read_authentication_guest_access","list_public_teams","sysconsole_read_authentication_signup","sysconsole_write_user_management_groups","join_public_teams","sysconsole_read_authentication_saml","convert_private_channel_to_public","read_public_channel","delete_public_channel","manage_public_channel_members","sysconsole_read_user_management_channels","sysconsole_read_authentication_password","read_public_channel_groups","manage_private_channel_properties","sysconsole_write_user_management_teams","manage_public_channel_properties","sysconsole_write_user_management_channels","sysconsole_read_user_management_permissions","convert_public_channel_to_private","sysconsole_read_authentication_mfa","sysconsole_read_user_management_groups","read_private_channel_groups","view_team","delete_private_channel","list_private_teams","sysconsole_read_authentication_ldap","manage_team_roles","read_channel","sysconsole_read_user_management_teams","sysconsole_read_authentication_openid","sysconsole_read_authentication_email","manage_channel_roles","test_ldap","manage_private_channel_members","join_private_teams"],"scheme_managed":false}}
+{"type":"role","role":{"name":"custom_group_user","display_name":"authentication.roles.custom_group_user.name","description":"authentication.roles.custom_group_user.description","permissions":[],"scheme_managed":false}}
+{"type":"role","role":{"name":"channel_guest","display_name":"authentication.roles.channel_guest.name","description":"authentication.roles.channel_guest.description","permissions":["add_reaction","upload_file","create_post","remove_reaction","read_channel","use_channel_mentions","read_channel_content","edit_post"],"scheme_managed":true}}
+{"type":"role","role":{"name":"team_post_all_public","display_name":"authentication.roles.team_post_all_public.name","description":"authentication.roles.team_post_all_public.description","permissions":["use_channel_mentions","create_post_public","use_group_mentions"],"scheme_managed":false}}
+{"type":"role","role":{"name":"team_admin","display_name":"authentication.roles.team_admin.name","description":"authentication.roles.team_admin.description","permissions":["order_bookmark_public_channel","remove_user_from_team","playbook_private_manage_roles","playbook_public_manage_roles","manage_channel_access_rules","manage_others_slash_commands","use_channel_mentions","delete_others_posts","manage_team","edit_bookmark_private_channel","add_bookmark_public_channel","manage_public_channel_members","use_group_mentions","manage_private_channel_banner","convert_private_channel_to_public","manage_channel_roles","delete_bookmark_private_channel","manage_private_channel_members","upload_file","delete_bookmark_public_channel","manage_incoming_webhooks","manage_others_incoming_webhooks","manage_slash_commands","manage_public_channel_banner","remove_reaction","read_public_channel_groups","manage_others_outgoing_webhooks","import_team","read_private_channel_groups","add_reaction","manage_outgoing_webhooks","edit_bookmark_public_channel","manage_team_roles","order_bookmark_private_channel","create_post","delete_post","add_bookmark_private_channel","convert_public_channel_to_private"],"scheme_managed":true}}
+{"type":"team","team":{"name":"ad-1","display_name":"eligendi","type":"I","description":"et iste illum reprehenderit aliquid in rem itaque in maxime eius.","allow_open_invite":true}}
+{"type":"channel","channel":{"team":"ad-1","name":"town-square","display_name":"Town Square","type":"O","header":"","purpose":"","deleted_at":0}}
+{"type":"channel","channel":{"team":"ad-1","name":"private-channel","display_name":"private-channel","type":"P","header":"","purpose":"","deleted_at":0}}
+{"type":"channel","channel":{"team":"ad-1","name":"minus-6","display_name":"nostrum","type":"O","header":"quidem labore dolor hic aperiam. laboriosam cum quod maiores. itaque reprehenderit nostrum aut consequuntur. odit explicabo officiis!","purpose":"dolores minus tempore quidem voluptatem quod quibusdam asperiores ducimus. qui id nostrum veritatis nobis. tenetur iure qui nulla. dignissimos amet voluptas soluta natus.","deleted_at":0}}
+{"type":"channel","channel":{"team":"ad-1","name":"sequi-7","display_name":"nesciunt","type":"O","header":"qui deleniti qui nobis recusandae. sed quos magni dicta itaque quod. sit reprehenderit sint quas alias ut. facilis aut ut ut et officia aut ipsam sit. officia maiores est illo expedita harum laudantium rerum. sunt eum eum ut voluptatum. exercitationem sint ea cum aut possimus id tempora doloribus sit eligendi.","purpose":"ad eos eaque itaque maiores recusandae facilis. voluptatum modi cupiditate temporibus voluptas voluptate. voluptate vel eum ut doloremque est. illo et repudiandae hic. ex quaerat consequuntur quae rem. possimus numquam maxime vel. enim dolor non labo","deleted_at":0}}
+{"type":"user","user":{"profile_image":"users/19hyyxn9nbdwxe8hykj5fxmgwe/profile.png","username":"sysadmin","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Kenneth","last_name":"Moreno","position":"Software Test Engineer ","roles":"system_admin system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_admin team_user","channels":[{"name":"sequi-7","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/3iwnwsnax3ng8k6d7j6517na1y/profile.png","username":"kenneth.simmons","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Kenneth","last_name":"Simmons","position":"Analyst Programmer","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"false","message_display":"compact","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/9wmomqujxtdmde5iqwfapa1omy/profile.png","username":"rebecca.diaz","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Rebecca","last_name":"Diaz","position":"Help Desk Operator","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"sequi-7","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"true","message_display":"compact","channel_display_mode":"full","tutorial_step":"1","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/ebpx7btiqbbxtndd8sjwtyktxc/profile.png","username":"jesse.little","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Jesse","last_name":"Little","position":"Senior Financial Analyst","roles":"system_admin system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/fkebnazpqbyubmcypidwx41maa/profile.png","username":"guest","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Nicholas","last_name":"Gonzales","position":"Safety Technician ","roles":"system_guest","locale":"en","delete_at":1769002017207,"teams":[{"name":"ad-1","roles":"team_guest","channels":[{"name":"minus-6","roles":"channel_guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":true,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/h7tw5exij7yodcuqch7cowdyiw/profile.png","username":"bobby.watson","email":"[email protected]","auth_service":null,"nickname":"Dabfeed","first_name":"Bobby","last_name":"Watson","position":"Sales Representative","roles":"system_admin system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"sequi-7","roles":"channel_admin channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"false","message_display":"compact","channel_display_mode":"centered","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/kao684wsh3gh38j4f6okwt9qmw/profile.png","username":"adam.torres","email":"[email protected]","auth_service":null,"nickname":"Jabbersphere","first_name":"Adam","last_name":"Torres","position":"Quality Engineer","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"true","message_display":"clean","channel_display_mode":"centered","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/mqrjr43uyjyi5rwn3x98sgqcxa/profile.png","username":"admin_username","email":"[email protected]","auth_service":null,"nickname":"","first_name":"","last_name":"","position":"","roles":"system_user system_admin","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"tutorial_step":"0","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/mr6x5cuzdi815ndaqaekjayhxr/profile.png","username":"keith.ryan","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Keith","last_name":"Ryan","position":"Geologist ","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/n8ncm4parjdz9pd8ne8djtto8e/profile.png","username":"brandon.mccoy","email":"[email protected]","auth_service":null,"nickname":"Oloo","first_name":"Brandon","last_name":"Mccoy","position":"Senior Financial Analyst","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"sequi-7","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"true","message_display":"clean","channel_display_mode":"centered","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/nemz7fnh97gmifym1bd1yx4mzr/profile.png","username":"lois.harper","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Lois","last_name":"Harper","position":"Product Engineer","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"false","message_display":"clean","channel_display_mode":"centered","tutorial_step":"2","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/ouiyzynxmtfcmgret6by3freqc/profile.png","username":"hamlet","email":"[email protected]","auth_service":null,"nickname":"","first_name":"","last_name":"","position":"","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"private-channel","roles":"channel_admin channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":2,"msg_count_root":2,"last_viewed_at":1769526167363},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"sequi-7","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":121,"msg_count_root":100,"last_viewed_at":1769526263309},{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":168,"msg_count_root":113,"last_viewed_at":1769526454137}]}],"tutorial_step":"0","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/paozx99goirobx7htxq6yec3jh/profile.png","username":"eugene.montgomery","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Eugene","last_name":"Montgomery","position":"Chief Design Engineer","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"false","message_display":"compact","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/pmnoihg7utdzicxkhqkk9st6ay/profile.png","username":"user-1","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Kathryn","last_name":"Wheeler","position":"Editor","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"sequi-7","roles":"channel_admin channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"true","message_display":"clean","channel_display_mode":"full","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/wberzymrffyn5bm7arwit3xige/profile.png","username":"jason.peterson","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Jason","last_name":"Peterson","position":"VP Sales","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"sequi-7","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"2","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/yr71o1is6bna9nbgqn4c4x1ufo/profile.png","username":"michelle.robinson","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Michelle","last_name":"Robinson","position":"Software Consultant","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"minus-6","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0},{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"true","link_previews":"false","message_display":"clean","channel_display_mode":"full","tutorial_step":"3","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"user","user":{"profile_image":"users/zywq6hxh6jgy5xy3113e9wwmjw/profile.png","username":"nancy.sanders","email":"[email protected]","auth_service":null,"nickname":"","first_name":"Nancy","last_name":"Sanders","position":"Analog Circuit Design manager","roles":"system_user","locale":"en","delete_at":0,"teams":[{"name":"ad-1","roles":"team_user","channels":[{"name":"town-square","roles":"channel_user","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all"},"favorite":false,"mention_count":0,"mention_count_root":0,"urgend_mention_count":0,"msg_count":0,"msg_count_root":0,"last_viewed_at":0}]}],"military_time":"false","link_previews":"true","message_display":"compact","channel_display_mode":"centered","tutorial_step":"999","notify_props":{"desktop":"mention","desktop_sound":"true","email":"true","mobile":"mention","mobile_push_status":"online","channel":"true","comments":"never","mention_keys":""}}}
+{"type":"bot","bot":{"profile_image":"users/g5zc44h7b7nfxfq9axg56q1cyw/profile.png","username":"system-bot","owner":"admin_username","display_name":"System","description":"","delete_at":0}}
+{"type":"bot","bot":{"profile_image":"users/j6nygk5wm7ftiy5jqwdm581euw/profile.png","username":"lori.carter","owner":"lori.carter","display_name":"Lori","description":"","delete_at":0}}
+{"type":"bot","bot":{"profile_image":"users/tqk7157hujgdmdpbwf7g6fyw9h/profile.png","username":"jira","owner":"jira","display_name":"Jira","description":"Created by the Jira Plugin.","delete_at":0}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"keith.ryan","type":"","message":"qui autem maxime quaerat voluptate. at qui voluptates nobis vel debitis magni et.\nvelit ipsa iusto in enim.","props":{},"create_at":1768952508888,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"user-1","type":"","message":"omnis sed aliquid consequuntur id vitae et! ullam ea rerum facilis culpa consectetur. nihil quia in ut! vero quam ullam vitae explicabo quaerat. dignissimos ex est. aperiam et quis et vitae.\nea tempore eum magni quis!\nvel sit numquam et et reiciendis tempora.","props":{},"create_at":1768944431478,"edit_at":0,"flagged_by":[],"reactions":[{"user":"michelle.robinson","create_at":1768944437645,"emoji_name":"blush"},{"user":"sysadmin","create_at":1768944441251,"emoji_name":"heart"},{"user":"eugene.montgomery","create_at":1768944455369,"emoji_name":"blush"},{"user":"bobby.watson","create_at":1768944469120,"emoji_name":"blush"},{"user":"eugene.montgomery","create_at":1768944474635,"emoji_name":"-1"},{"user":"user-1","create_at":1768944476205,"emoji_name":"+1"},{"user":"sysadmin","create_at":1768944508666,"emoji_name":"-1"}],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"brandon.mccoy","type":"","message":"aut voluptas tempore cum et voluptatem. aspernatur aliquid voluptatem reiciendis est sunt omnis fugit voluptatum. voluptas fugiat debitis quia cupiditate. delectus et et sit qui at.","props":{},"create_at":1768933327369,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"brandon.mccoy","type":"","message":"modi repudiandae et illo consequuntur soluta. et explicabo vero laborum voluptas ad. sit ut et odio maxime sit autem enim.\nut consequatur labore dolorum nam eos qui.","props":{},"create_at":1768916514105,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"eugene.montgomery","type":"","message":"cupiditate corporis est. non ipsum sed aut rerum laborum sint! velit aperiam praesentium dolorem sed aliquam aliquid est. assumenda quia ea quia sit omnis nesciunt. expedita praesentium unde illo dolores adipisci. dolores debitis harum! blanditiis ad perferendis ullam corporis. quisquam fuga ut illo. voluptatem quo labore excepturi cum ut accusamus vel amet.\nlabore qui quae sed!\nquos tenetur ut incidunt cum.","props":{},"create_at":1768931699457,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"sysadmin","type":"","message":"fugiat minima similique laboriosam. nihil vero corrupti nesciunt sit eaque fugit eaque eos reiciendis a possimus. mollitia eos sequi qui dolore voluptas est molestiae. ipsam dolores dolores dolorem! cumque necessitatibus nihil dolorum vero vitae. harum cum ducimus et nam sit. voluptatum id itaque et eius molestiae veniam. saepe in cum blanditiis fugiat praesentium corporis sapiente consequuntur in deleniti. rem voluptas similique voluptates quod beatae aut ratione officia dolore sint. quam qui nisi sequi culpa eligendi omnis.\neligendi et vel.","props":{},"create_at":1768915689086,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"rebecca.diaz","type":"","message":"quos consequuntur voluptatem tempore rerum eveniet et temporibus est.","props":{},"create_at":1768928824916,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"nancy.sanders","type":"","message":"quisquam labore placeat rerum aut.\ncorrupti soluta temporibus rerum dolorum in.\nquisquam molestiae quia sapiente maxime asperiores ut.","props":{},"create_at":1768949144256,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"adam.torres","type":"","message":"minus amet modi.","props":{},"create_at":1768925042716,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"jason.peterson","type":"","message":"voluptatem iure nulla ut omnis.\nvelit asperiores reprehenderit est repudiandae voluptatum corporis occaecati aut.","props":{},"create_at":1768952382756,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"adam.torres","type":"","message":"ut cumque expedita.","props":{},"create_at":1768935354947,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"kenneth.simmons","type":"","message":"facere error eius facilis quisquam sed reprehenderit. facilis veritatis nobis pariatur velit quia. dolor sint quae et. qui velit aut exercitationem. quasi rerum quasi a qui neque aut ea. ullam autem nisi nihil dolore. voluptas aspernatur est et quia labore! et explicabo fugit possimus incidunt dolorum porro omnis. maxime voluptatem atque facere.\nesse deleniti minima.","props":{},"create_at":1768946196167,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"system_add_to_channel","message":"jira added to the channel by hamlet.","props":{"addedUserId":"tqk7157hujgdmdpbwf7g6fyw9h","addedUsername":"jira","userId":"ouiyzynxmtfcmgret6by3freqc","username":"hamlet"},"create_at":1769522594605,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"rebecca.diaz","type":"","message":"dolores distinctio doloremque praesentium. nihil omnis debitis nihil quia mollitia. dolorum cumque eum itaque deleniti. quasi dolor accusantium explicabo illo occaecati.\ncorrupti consequatur necessitatibus et.\nratione qui id id.\neius consequuntur eius numquam!","props":{},"create_at":1768933303633,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"keith.ryan","type":"","message":"eaque laborum accusamus quas nam placeat at aspernatur. omnis libero sunt culpa mollitia aliquam distinctio molestias.","props":{},"create_at":1768943022982,"edit_at":0,"flagged_by":["keith.ryan"],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"keith.ryan","type":"","message":"optio repellat odio corrupti incidunt dolor sunt ut. incidunt cum non nihil. maiores cupiditate aliquam aut. voluptas magnam velit voluptatem consequuntur.","props":{},"create_at":1768912930446,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"","message":":Mattermost: :zulip-emoji: :white_check_mark: ","props":{"disable_group_highlight":true},"create_at":1769522985731,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"nancy.sanders","type":"","message":"non suscipit quis.","props":{},"create_at":1768908892485,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"kenneth.simmons","type":"","message":"est pariatur voluptatem voluptas quia omnis.\naliquam et pariatur qui.","props":{},"create_at":1768909917729,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"brandon.mccoy","type":"","message":"qui qui ipsum minus quibusdam error. cum et officiis voluptate non et voluptas!\nblanditiis voluptatibus eveniet.","props":{},"create_at":1768921412556,"edit_at":0,"flagged_by":[],"reactions":[],"replies":[{"user":"kenneth.simmons","type":"","message":"natus culpa vero excepturi.\nfacilis ipsum natus fuga sed ut!\neum possimus voluptates possimus eum sit numquam et.","props":{},"create_at":1768921504388,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"nancy.sanders","type":"","message":"saepe non numquam qui cum similique.\nrepellendus repellat amet consequatur fuga tempora consequatur perspiciatis.","props":{},"create_at":1768921460606,"edit_at":0,"flagged_by":[],"is_pinned":false}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"lois.harper","type":"","message":"quos eveniet inventore omnis molestiae praesentium voluptatem voluptatem necessitatibus ex corporis.\nmodi quo consequuntur.","props":{},"create_at":1768945533440,"edit_at":0,"flagged_by":["eugene.montgomery"],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"adam.torres","type":"","message":"voluptatibus consequatur pariatur ea provident id. dignissimos dolore nulla! repudiandae ab vel ea placeat ut eum sit ut modi quia.\nperferendis rem ipsam sit in excepturi.","props":{},"create_at":1768952766617,"edit_at":0,"flagged_by":[],"reactions":[{"user":"hamlet","create_at":1769178052149,"emoji_name":"zulip-emoji"}],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"bobby.watson","type":"","message":"qui laborum voluptas repellat aut sit.\nquas expedita temporibus consequatur.\nomnis commodi delectus libero.","props":{},"create_at":1768907138819,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"bobby.watson","type":"","message":"rerum est corporis et repudiandae veritatis. voluptas quisquam quam sunt excepturi est in. sequi est repellendus et pariatur. deserunt sunt maxime et ut quae repellat. voluptas quos molestias blanditiis nulla. voluptatem et ipsa soluta eveniet modi vitae dolorem alias vel consequatur. voluptate quod quia odit tempore. autem sit eum iusto exercitationem nam quidem. odit vitae vel id voluptatibus excepturi dolor. earum perferendis voluptatem quasi consequatur harum illo.","props":{},"create_at":1768924767823,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"lori.carter","type":"","message":"@michelle.robinson earum ea et libero odio tempora.","props":{},"create_at":1768944882296,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"guest","type":"","message":"https://twitter.com/mattermosthq/status/938061722027425797","props":{},"create_at":1768941638290,"edit_at":0,"flagged_by":["lois.harper"],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"kenneth.simmons","type":"","message":"eum amet neque in dolore itaque cumque et et.","props":{},"create_at":1768938016825,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"jason.peterson","type":"","message":"dolores eos sed asperiores saepe expedita ea recusandae tenetur reiciendis. voluptas nihil omnis rem veniam corrupti quis. nisi enim et labore in. dolor molestiae iure totam saepe officiis. a eos voluptatem et omnis quia mollitia ipsam. odio distinctio voluptates eius nihil reprehenderit aut accusantium. et quas amet ea et. exercitationem quod voluptas accusamus qui repudiandae velit atque quaerat.","props":{},"create_at":1768949119277,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"jason.peterson","type":"","message":"dolor recusandae et et. sint vitae consequatur minima. qui saepe alias sequi accusantium. quae nisi eaque impedit possimus. odio eligendi commodi dolorum voluptatem ea vero vitae quis. pariatur necessitatibus cum dolor perferendis in. animi laboriosam eum et provident enim tempora id nihil dicta!","props":{},"create_at":1768945693739,"edit_at":0,"flagged_by":["michelle.robinson"],"reactions":[],"replies":[{"user":"jason.peterson","type":"","message":"\n * repellat\n * quas","props":{},"create_at":1768945718344,"edit_at":0,"flagged_by":[],"is_pinned":false}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"town-square","user":"hamlet","type":"system_add_to_team","message":"jira added to the team by hamlet.","props":{"addedUserId":"tqk7157hujgdmdpbwf7g6fyw9h","addedUsername":"jira","userId":"ouiyzynxmtfcmgret6by3freqc","username":"hamlet"},"create_at":1769522578430,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"guest","type":"","message":"sed quia debitis ratione.\na dolor aut ex consequatur!","props":{},"create_at":1768905022755,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"adam.torres","type":"","message":"velit porro quia sapiente nihil.\nharum aut maxime.\nnemo ut quidem esse consequuntur vel modi!\nrerum quae veritatis illo repellendus.","props":{},"create_at":1768915208993,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"sysadmin","type":"","message":"sequi non expedita qui et esse. voluptas labore repudiandae aperiam perspiciatis. voluptas ipsum et quia magnam numquam soluta! dolores est quo aliquid. facilis atque et officia ducimus consectetur nesciunt tempora deleniti. quo voluptas minus qui earum aliquam nemo. exercitationem et quis suscipit consequuntur. aut dolor sint laudantium. aspernatur praesentium dolorum natus illum beatae. aperiam doloremque ut distinctio id placeat qui.\ndicta consequatur ut ut culpa.","props":{},"create_at":1768944361106,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"lois.harper","type":"","message":"https://twitter.com/mattermosthq/status/948539688171819009","props":{},"create_at":1768910524491,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"kenneth.simmons","type":"","message":"rerum qui est ut ut quis!\neius et quo id.","props":{},"create_at":1768920560286,"edit_at":0,"flagged_by":[],"reactions":[],"replies":[{"user":"guest","type":"","message":"magnam et quia quo.","props":{},"create_at":1768920654711,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"adam.torres","type":"","message":"incidunt vel sapiente illum tenetur ut.\nnon consectetur possimus expedita incidunt consequuntur tenetur excepturi consequatur nemo molestiae.\nquis fugit cumque.","props":{},"create_at":1768920612443,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"kenneth.simmons","type":"","message":"\n * exercitationem\n * facere\n * inventore","props":{},"create_at":1768920576441,"edit_at":0,"flagged_by":[],"is_pinned":false}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"private-channel","user":"hamlet","type":"","message":"hey","props":{"disable_group_highlight":true},"create_at":1769526167363,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"user-1","type":"","message":"explicabo nobis dolorem autem!\nnumquam a qui aspernatur dolores.\net dolorem facilis qui quia atque.","props":{},"create_at":1768945127586,"edit_at":0,"flagged_by":["bobby.watson"],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"jason.peterson","type":"","message":"dicta adipisci rerum ex atque asperiores ipsa.\nconsectetur voluptates fugit totam suscipit quia quos.","props":{},"create_at":1768914875874,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"jesse.little","type":"","message":"quasi dolor numquam rerum occaecati!\nperferendis molestias fugiat voluptas non nihil.","props":{},"create_at":1768907936991,"edit_at":0,"flagged_by":[],"reactions":[{"user":"lori.carter","create_at":1768907945187,"emoji_name":"blush"},{"user":"lori.carter","create_at":1768908007844,"emoji_name":"+1"}],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"guest","type":"","message":"pariatur autem minus ad provident dolor eum!\nsoluta rerum reiciendis excepturi in ut voluptatem suscipit.","props":{},"create_at":1768949686355,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"sequi-7","user":"lori.carter","type":"","message":"nihil quis debitis et laudantium deserunt dolores. molestias nisi illo officia doloribus incidunt. nemo nihil ad et iusto voluptas pariatur possimus pariatur. praesentium delectus praesentium corporis. pariatur nobis enim maxime minus amet odit exercitationem ut similique!","props":{},"create_at":1768919721828,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"eugene.montgomery","type":"","message":"ducimus ipsa eum sapiente eveniet aut neque et rem.","props":{},"create_at":1768947369254,"edit_at":0,"flagged_by":[],"reactions":[{"user":"nancy.sanders","create_at":1768947408718,"emoji_name":"blush"}],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"keith.ryan","type":"","message":"id alias quo qui. id dolores velit in eius. maxime aut sed voluptate labore id quisquam ut. nobis est qui provident voluptatem vel fugiat. blanditiis dignissimos sed qui magni qui repellat cumque. error mollitia ut accusantium ipsam nobis ratione voluptates. quia ducimus beatae non velit. non deleniti eos. molestiae voluptates illo sed qui qui deleniti.\ntemporibus non qui doloribus quia unde magni.","props":{},"create_at":1768946180627,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"michelle.robinson","type":"","message":"hic debitis enim placeat eius.\n * alias","props":{},"create_at":1768939500458,"edit_at":0,"flagged_by":[],"reactions":[],"replies":[{"user":"adam.torres","type":"","message":"minus in at unde temporibus.\nnihil dignissimos adipisci autem est.","props":{},"create_at":1768939544492,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"bobby.watson","type":"","message":"illo aut occaecati pariatur optio aut esse.","props":{},"create_at":1768939537966,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"brandon.mccoy","type":"","message":"voluptatum culpa aut sed et. pariatur sunt aperiam itaque accusantium sit voluptates. in voluptatibus tempore dolor consequatur aut et. dolorem non et rem a. maxime quis ea sed dolore modi. fuga rerum eaque et. et voluptas tempora non consectetur incidunt.\ncommodi corporis tenetur delectus totam enim.","props":{},"create_at":1768939599365,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"lois.harper","type":"","message":"modi omnis quis ut doloribus.\ndelectus magni sint qui quasi autem officiis.","props":{},"create_at":1768939573332,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"keith.ryan","type":"","message":"iure ea et dolores vero distinctio nisi animi. autem consequatur velit esse commodi deserunt et expedita perferendis commodi. culpa quo nihil reiciendis est ut nemo. commodi provident et non laborum. id ut est maiores voluptatem neque.","props":{},"create_at":1768939533692,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"michelle.robinson","type":"","message":"et officia excepturi ab doloremque consequatur ut optio.\nconsectetur id et ut quis aut et.","props":{},"create_at":1768939589785,"edit_at":0,"flagged_by":[],"is_pinned":false}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"","message":"","props":{"disable_group_highlight":true},"create_at":1769177983131,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"attachments":[{"path":"20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/wj79zfkun3f63k5esktmnrgcec/text file.txt"}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"town-square","user":"admin_username","type":"system_join_team","message":"admin_username joined the team.","props":{"username":"admin_username"},"create_at":1768989260816,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"system_join_channel","message":"hamlet joined the channel.","props":{"username":"hamlet"},"create_at":1769158615255,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"","message":"","props":{"disable_group_highlight":true},"create_at":1769177910197,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"attachments":[{"path":"20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/hcfa68wijpgq7k9go9nmak6qza/Screenshot 2025-12-19 210913.png"}],"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"private-channel","user":"hamlet","type":"","message":"voluptatibus consequatur pariatur ea provident id. dignissimos dolore nulla! repudiandae ab vel ea placeat ut eum sit ut modi quia.\nperferendis rem ipsam sit in excepturi.\n\n\n","props":{"disable_group_highlight":true},"create_at":1769178132265,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"is_pinned":false}}
+{"type":"post","post":{"team":"ad-1","channel":"minus-6","user":"hamlet","type":"","message":"","props":{"disable_group_highlight":true},"create_at":1769177910197,"edit_at":0,"flagged_by":[],"reactions":[],"replies":null,"attachments":[{"path":"20260123/teams/noteam/channels/os55d37hwjb87b7rnuucic7ngh/users/ouiyzynxmtfcmgret6by3freqc/3rujg3pq7fbc8gyxmzaaqca19c/Recording 2026-01-19 203522.mp4"}],"is_pinned":false}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"tempore ipsa omnis sunt ut vel."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quam qui eos reiciendis quibusdam incidunt et ea omnis."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"aliquam inventore aliquam perferendis dolor sint!"}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"atque autem sint veniam eum corporis."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"aut nam qui ut deleniti deserunt quia."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"hamlet","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true,"msg_count":1,"msg_count_root":1,"last_viewed_at":1768989155874},{"username":"admin_username","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true,"msg_count":1,"msg_count_root":1,"last_viewed_at":1768989155874}],"shown_by":["hamlet","admin_username"],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"eveniet illum omnis delectus qui sequi."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"officiis molestiae nulla ea eveniet perferendis et repudiandae alias nesciunt enim."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quo dolor vel illum."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"commodi omnis est corrupti autem."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"id non qui vero voluptatem voluptas illum."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"cumque autem architecto sit necessitatibus nobis."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"impedit mollitia autem repudiandae omnis laudantium iusto!"}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"in ad neque est ratione doloribus animi in aperiam corporis optio!"}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"totam quia rerum."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"aut optio nam voluptas id ullam asperiores qui nostrum recusandae."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_guest":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"rerum maxime ad et ea recusandae totam."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"ratione laudantium nam."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quo vero rerum qui eos."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"sit aut vel libero non."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"iste et mollitia sed enim."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"id enim perspiciatis assumenda vitae nihil."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"qui cumque voluptatem autem."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_guest":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"ut nulla sed dolorum repellat."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_guest":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_guest":true},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"et culpa ex maiores atque hic."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"natus doloremque autem nemo odit tenetur ratione."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quas voluptate velit modi totam ut similique."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"ab qui earum corporis perspiciatis ipsam cum ut provident."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"doloremque illo quidem minus aut."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"molestias voluptatum expedita tempora fuga."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"rerum et assumenda et quibusdam quidem."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"labore aut molestias saepe nobis."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quo sequi eligendi numquam aliquam odit non nostrum harum."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quia pariatur aut fugiat illo qui itaque suscipit."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"hamlet","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true,"msg_count":1,"msg_count_root":1,"last_viewed_at":1769158673314},{"username":"hamlet","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true,"msg_count":1,"msg_count_root":1,"last_viewed_at":1769158673314}],"shown_by":["hamlet"],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"praesentium quidem dolor facere est voluptatum dolores sunt."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"lori.carter","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"bobby.watson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"aut iste et voluptatem provident doloribus accusamus sunt aut qui totam."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"aut suscipit odio dolorem unde aliquam dicta."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"adipisci unde non magni consequuntur porro asperiores."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"guest","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"voluptates consequatur velit rerum."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"michelle.robinson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"user-1","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quaerat dicta fugiat nisi recusandae quo."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"voluptatibus nihil quo non excepturi ipsa ipsa praesentium."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"nancy.sanders","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"lois.harper","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"quidem dolore earum sit molestias."}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"adam.torres","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"rebecca.diaz","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"eugene.montgomery","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"kenneth.simmons","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"jason.peterson","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"brandon.mccoy","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true},{"username":"keith.ryan","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"},"scheme_user":true}],"header":""}}
+{"type":"direct_channel","direct_channel":{"participants":[{"username":"jesse.little","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}},{"username":"sysadmin","notify_props":{"desktop":"default","mobile":"default","mark_unread":"all","email":"default","ignore_channel_mentions":"default","channel_auto_follow_threads":"off"}}],"header":"impedit ut sunt nesciunt expedita."}}
+{"type":"direct_post","direct_post":{"channel_members":["kenneth.simmons","brandon.mccoy"],"user":"kenneth.simmons","type":"","message":"consectetur fugit dolor ducimus distinctio.\nquidem qui a repellat et!\nquia voluptatem iure ipsam et ratione occaecati.","props":{},"create_at":1768928687856,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["kenneth.simmons","jason.peterson","sysadmin","brandon.mccoy","keith.ryan"],"user":"brandon.mccoy","type":"","message":"aliquam animi cum odio quasi. molestias aliquid dicta ut et.\nnulla perferendis saepe quia tempora veniam consequatur!\nconsequuntur ullam animi qui sint sunt aspernatur.","props":{},"create_at":1768914140808,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"rebecca.diaz","type":"","message":"velit eos exercitationem consequuntur.","props":{},"create_at":1768950957177,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["user-1","rebecca.diaz","adam.torres","bobby.watson"],"user":"bobby.watson","type":"","message":"dolores veritatis et qui vitae odit. ut consectetur impedit laudantium dolores. minima nihil omnis quo earum. et voluptatum beatae et consectetur nihil aliquid qui ullam. laborum consequatur aut in voluptatem. atque aut recusandae quaerat itaque beatae. est reprehenderit aut consequuntur est architecto. qui officia saepe cumque occaecati. voluptatibus necessitatibus distinctio deleniti.\naut autem quae.\nrerum aperiam eveniet et ea enim!","props":{},"create_at":1768949998045,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["nancy.sanders","kenneth.simmons"],"user":"nancy.sanders","type":"","message":"aliquid iusto voluptas nemo saepe.\net voluptas aut dolores omnis.\nsunt rerum impedit ut.","props":{},"create_at":1768949390148,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["sysadmin","rebecca.diaz"],"user":"sysadmin","type":"","message":"ipsum deserunt alias deserunt reprehenderit earum minima sed provident. est ut rerum in recusandae atque dolorem nemo sunt. dolores a ut fuga eum a qui beatae qui consequatur. placeat optio corrupti veritatis et eaque qui. qui deleniti qui quidem.\nsint et repudiandae quam quas non.","props":{},"create_at":1768934575116,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["rebecca.diaz","nancy.sanders","user-1"],"user":"rebecca.diaz","type":"","message":"praesentium veritatis impedit temporibus.\nlibero commodi vero enim accusantium ducimus cupiditate sed aut fugiat aut!","props":{},"create_at":1768941578578,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["guest","eugene.montgomery"],"user":"guest","type":"","message":"in voluptatem commodi iusto quo error quos. rerum atque quam ullam enim accusantium. facilis accusantium amet et consequatur aspernatur sed dolor!","props":{},"create_at":1768918720132,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","adam.torres","rebecca.diaz","lois.harper"],"user":"adam.torres","type":"","message":"voluptas culpa incidunt est fugit et voluptatem.\n * libero","props":{},"create_at":1768904959708,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["michelle.robinson","nancy.sanders","rebecca.diaz","eugene.montgomery","sysadmin"],"user":"sysadmin","type":"","message":"est tempora consequatur ut.","props":{},"create_at":1768928989357,"edit_at":0,"flagged_by":[],"reactions":null,"replies":[{"user":"rebecca.diaz","type":"","message":"aut repudiandae voluptas odio nulla alias commodi.\nut ea totam quia!","props":{},"create_at":1768929081949,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jason.peterson","sysadmin","rebecca.diaz"],"user":"sysadmin","type":"","message":"nesciunt dignissimos reprehenderit. dolor voluptates et voluptas quia nemo consectetur voluptatem quo et. similique quos beatae veritatis. omnis quod aspernatur et. sunt expedita quo rerum ut quia neque beatae libero autem dicta.","props":{},"create_at":1768946844924,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","eugene.montgomery"],"user":"brandon.mccoy","type":"","message":"inventore provident aut pariatur sed illum dolores.","props":{},"create_at":1768940993310,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["user-1","nancy.sanders"],"user":"user-1","type":"","message":"\n * voluptas\n * repellendus","props":{},"create_at":1768945515902,"edit_at":0,"flagged_by":["user-1"],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["rebecca.diaz","nancy.sanders","user-1"],"user":"user-1","type":"","message":"laborum et et rerum possimus non. deserunt debitis eaque quia. consectetur vel nobis quisquam. porro ad minima tenetur! aperiam aliquid voluptatem totam.\nexcepturi laboriosam aspernatur quia nobis aperiam reiciendis dolores sint.\namet labore quasi provident sed enim aut illo doloremque.","props":{},"create_at":1768923413207,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jesse.little","guest"],"user":"guest","type":"","message":"dolorum optio harum et. laudantium sit aliquid illo. voluptates in voluptate. libero quos laboriosam natus aliquam possimus natus. eius illo dolores sint! et tempore corporis nesciunt nisi. tempore harum laborum porro laboriosam qui veritatis. eum facere esse assumenda magni quia omnis illum odit. laborum sint officia est vitae voluptatem. laborum consequatur architecto dignissimos deserunt commodi tenetur veniam.","props":{},"create_at":1768944503691,"edit_at":0,"flagged_by":["guest"],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["adam.torres","lois.harper","rebecca.diaz"],"user":"rebecca.diaz","type":"","message":"nisi nobis accusamus. facilis vitae quo quidem debitis est. officia iste neque veniam. atque illum libero et et! aperiam accusantium fuga nisi! qui ut animi cum numquam provident quas ut. dignissimos nihil autem ea.","props":{},"create_at":1768924553755,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["kenneth.simmons","brandon.mccoy","lois.harper","jesse.little","bobby.watson"],"user":"brandon.mccoy","type":"","message":"non inventore labore quos perferendis dicta quia.\nvoluptates consequatur et quam eaque consequatur.","props":{},"create_at":1768932791515,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jesse.little","keith.ryan"],"user":"jesse.little","type":"","message":"@jesse.little eligendi nulla voluptatem est hic.","props":{},"create_at":1768937147004,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","eugene.montgomery"],"user":"brandon.mccoy","type":"","message":"eaque quam numquam blanditiis sed est labore. nesciunt omnis a ut sit. eos soluta numquam rerum! provident doloribus ut temporibus magni ipsa adipisci delectus. dolorem enim dolorum dolorem. nihil quod eum.","props":{},"create_at":1768920541905,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"nancy.sanders","type":"","message":"illum aut illum et nisi.\nfugit quae quod aut provident debitis omnis commodi perspiciatis.","props":{},"create_at":1768950541928,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["rebecca.diaz","nancy.sanders","user-1"],"user":"nancy.sanders","type":"","message":"ullam a molestiae voluptatibus minus.\nquos cupiditate ut accusantium.","props":{},"create_at":1768933968075,"edit_at":0,"flagged_by":[],"reactions":null,"replies":[{"user":"user-1","type":"","message":"molestiae soluta qui minima velit qui aut provident.\ntotam perferendis veniam repellat atque excepturi.\nesse dolorem ea culpa eius consectetur qui.","props":{},"create_at":1768934021329,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"nancy.sanders","type":"","message":"\n * magni","props":{},"create_at":1768934000070,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["user-1","rebecca.diaz","adam.torres","bobby.watson"],"user":"user-1","type":"","message":"voluptas et reiciendis deserunt qui.\nsuscipit nesciunt et sed est at similique.\nrerum soluta qui expedita voluptatem.","props":{},"create_at":1768930812666,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["michelle.robinson","nancy.sanders","rebecca.diaz","eugene.montgomery","sysadmin"],"user":"michelle.robinson","type":"","message":"ab est praesentium quod reprehenderit sed aspernatur.\nunde cupiditate velit enim quos.","props":{},"create_at":1768948892421,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","michelle.robinson"],"user":"brandon.mccoy","type":"","message":"similique eligendi fugit voluptatem suscipit debitis! iste ex eveniet vel qui et molestiae. assumenda maiores sunt magni vitae! cum dolorem quos. totam qui rerum similique error expedita sit occaecati! aut ipsa quidem! est explicabo nihil quia excepturi voluptatem.\nbeatae ratione rerum accusamus inventore.","props":{},"create_at":1768924499932,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","eugene.montgomery"],"user":"brandon.mccoy","type":"","message":"id dolore soluta perspiciatis. nemo assumenda hic debitis tempore delectus et. et ut facere ducimus asperiores et corporis illo mollitia. consequatur sit ducimus a expedita tenetur ducimus soluta sunt. quia nemo non culpa. ad saepe porro labore.\nnihil temporibus similique omnis asperiores sed.","props":{},"create_at":1768948209041,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jesse.little","kenneth.simmons"],"user":"kenneth.simmons","type":"","message":"asperiores ut illo illum adipisci.\ntotam voluptas accusamus quo.","props":{},"create_at":1768916586766,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"rebecca.diaz","type":"","message":"assumenda vel quia assumenda quia.\ndebitis deleniti voluptates natus voluptas ut soluta aut autem.\naut non deleniti facilis et doloribus dicta ex nostrum exercitationem facere.","props":{},"create_at":1768934792625,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"brandon.mccoy","type":"","message":"deserunt sit cupiditate voluptatem voluptas perspiciatis et excepturi ex. quos cupiditate velit quas officiis aperiam unde fugit. magni sint qui quibusdam voluptates cupiditate. dolorem soluta id omnis earum! dolorum labore at nobis voluptatem ducimus beatae sit accusamus. voluptatem minima culpa non maiores porro.\ncupiditate eum corporis ipsum voluptas sed vero aut!\nquidem consequatur eligendi quia sunt sapiente iusto.","props":{},"create_at":1768935435059,"edit_at":0,"flagged_by":[],"reactions":null,"replies":[{"user":"brandon.mccoy","type":"","message":"culpa quidem repellendus nihil quidem qui atque qui quos autem. minima impedit harum quae autem.\nullam magni accusamus sequi excepturi sint vel pariatur rerum.","props":{},"create_at":1768935506835,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"brandon.mccoy","type":"","message":"https://www.youtube.com/watch?v=MRmGDhlMhNA","props":{},"create_at":1768935500126,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"nancy.sanders","type":"","message":"minima sed id ipsam accusamus.\nest minus omnis neque ad incidunt voluptas.","props":{},"create_at":1768935532594,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","michelle.robinson"],"user":"michelle.robinson","type":"","message":"est architecto voluptatem dolorem rem voluptatibus.\nnihil nihil ut reprehenderit excepturi quos autem nam.","props":{},"create_at":1768919032271,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["guest","jason.peterson"],"user":"guest","type":"","message":"nemo est et et doloribus aut ratione. hic velit reprehenderit nostrum neque nisi impedit aut. voluptatem quae sed optio debitis ipsa.","props":{},"create_at":1768946770856,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["nancy.sanders","brandon.mccoy"],"user":"brandon.mccoy","type":"","message":"omnis dolor fuga culpa labore quod aut deserunt.\naspernatur ea rerum reprehenderit praesentium.","props":{},"create_at":1768936973533,"edit_at":0,"flagged_by":["brandon.mccoy"],"reactions":null,"replies":[{"user":"nancy.sanders","type":"","message":"blanditiis libero nulla corrupti nemo ut debitis sit rerum.\nasperiores atque autem earum.\nmaxime sint sunt perferendis est qui.","props":{},"create_at":1768937001827,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jason.peterson","brandon.mccoy","eugene.montgomery","lois.harper"],"user":"eugene.montgomery","type":"","message":"et qui illum dolor cum.","props":{},"create_at":1768922560695,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["jesse.little","guest"],"user":"guest","type":"","message":"ea nemo qui quia quis consectetur. excepturi et debitis et libero maxime doloremque ipsum a accusantium. itaque voluptatem in nihil adipisci unde voluptatem quia.\nveritatis reiciendis vero aperiam a voluptatibus explicabo.","props":{},"create_at":1768940615185,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["sysadmin","rebecca.diaz"],"user":"rebecca.diaz","type":"","message":"saepe voluptatum dolore cumque esse veniam similique. nemo dolores cumque quo. est dolorem perferendis labore quaerat quia blanditiis. ea nihil enim adipisci voluptas ipsa magni quas. illum est aliquid culpa quia. vel voluptate blanditiis repellendus vel tempore.\nsunt id sed repudiandae inventore voluptatem.\niusto fuga totam placeat.","props":{},"create_at":1768906544225,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["michelle.robinson","nancy.sanders","rebecca.diaz","eugene.montgomery","sysadmin"],"user":"rebecca.diaz","type":"","message":"consequuntur tempore distinctio earum fuga adipisci nisi dolores. aut doloremque aspernatur quo delectus totam! et fugit quam saepe. quo distinctio molestiae. nesciunt consectetur quam. dolorem nisi reiciendis voluptas!\nipsam consequatur adipisci qui natus.","props":{},"create_at":1768946108701,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["kenneth.simmons","brandon.mccoy"],"user":"brandon.mccoy","type":"","message":"non optio dolores modi ut expedita dolorum! voluptatem quam a iure quos! voluptatem magni voluptas facere. est voluptatibus aliquam optio odit tempora eius ipsam. ratione amet corrupti sit enim necessitatibus! sequi quibusdam sapiente nihil assumenda vel! vel sed ipsa est excepturi qui quos rem. aut voluptatum minus ut et eum. sit omnis porro mollitia aliquid esse rem. illo omnis et dicta.\naut et beatae et similique.\nullam eius minima est id reiciendis numquam harum optio.","props":{},"create_at":1768935874020,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["nancy.sanders","sysadmin"],"user":"sysadmin","type":"","message":"aut est qui recusandae ut.","props":{},"create_at":1768911932263,"edit_at":0,"flagged_by":["sysadmin"],"reactions":null,"replies":[{"user":"sysadmin","type":"","message":"voluptatem sequi ratione fugit. nobis culpa quas id laudantium voluptatibus! consequatur itaque perferendis nihil quia minus! explicabo maiores rerum qui eum neque maiores. enim doloremque magnam laborum saepe eos. exercitationem facilis illum deserunt et quo! dolor provident molestias quis aut sequi sed et. adipisci rem omnis voluptatem dolor quo sequi. facere ea id harum laborum.\nest aspernatur mollitia facilis.\nquo blanditiis eos laborum voluptas eum.","props":{},"create_at":1768911994951,"edit_at":0,"flagged_by":[],"is_pinned":false},{"user":"sysadmin","type":"","message":"\n * minus\n * a","props":{},"create_at":1768911940090,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["guest","jason.peterson"],"user":"guest","type":"","message":"culpa voluptatum a.\nsint necessitatibus nobis aliquid laboriosam qui natus.","props":{},"create_at":1768927260935,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","eugene.montgomery"],"user":"brandon.mccoy","type":"","message":"recusandae odio ipsa omnis recusandae eum odit illum dolorem!","props":{},"create_at":1768937776923,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["guest","eugene.montgomery"],"user":"guest","type":"","message":"et omnis autem.\nipsa sit esse aut.","props":{},"create_at":1768904643617,"edit_at":0,"flagged_by":[],"reactions":null,"replies":[{"user":"guest","type":"","message":"aut rerum ex inventore voluptatum dignissimos! pariatur quaerat nihil commodi quia qui aut incidunt. nesciunt maxime et inventore fuga quisquam ea! dolorem in dicta soluta molestiae animi velit alias explicabo et. tempore vero suscipit distinctio doloremque sunt. quos facere minus voluptatem. voluptatum excepturi ut dolore repellat nam voluptatem aut. voluptas id itaque nesciunt soluta.\nnemo qui exercitationem nostrum et et quia autem necessitatibus.","props":{},"create_at":1768904692377,"edit_at":0,"flagged_by":[],"is_pinned":false}],"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"nancy.sanders","type":"","message":"delectus autem nulla aut perspiciatis! est ipsum amet a tempora ipsa. soluta ipsam voluptates voluptates et vel eos! ea est voluptas nihil fuga vitae et dolorem. animi blanditiis accusamus dolorem ratione. cumque magnam voluptatem placeat est ut libero doloremque.","props":{},"create_at":1768939532601,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["kenneth.simmons","brandon.mccoy","lois.harper","jesse.little","bobby.watson"],"user":"kenneth.simmons","type":"","message":"natus dolor recusandae officiis non. ipsam sint in odit qui veritatis voluptates. illum in accusamus veritatis fugit et!\nmolestiae sed eius ea quos voluptatem qui distinctio.","props":{},"create_at":1768948768563,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["lois.harper","lori.carter"],"user":"lois.harper","type":"","message":"necessitatibus perspiciatis error ad officiis reprehenderit non nobis. aut omnis quia ducimus accusamus aut quasi quibusdam architecto ipsa. laboriosam non dolor qui molestias.","props":{},"create_at":1768922571833,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["user-1","rebecca.diaz","adam.torres","bobby.watson"],"user":"bobby.watson","type":"","message":"https://www.youtube.com/watch?v=LsMLR-BHsKg","props":{},"create_at":1768947903538,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["bobby.watson","lois.harper"],"user":"lois.harper","type":"","message":"id vel qui debitis ipsa voluptas maxime est est.","props":{},"create_at":1768937668575,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"jason.peterson","type":"","message":"reiciendis occaecati fugiat et distinctio facere.\nvero quis est ipsa id omnis corrupti.\nmagni similique sed aperiam.","props":{},"create_at":1768949502081,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["brandon.mccoy","jason.peterson","jesse.little","rebecca.diaz","nancy.sanders"],"user":"brandon.mccoy","type":"","message":"ut distinctio labore sapiente.\nrerum accusamus beatae eveniet quae sint.","props":{},"create_at":1768933655499,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["lois.harper","lori.carter"],"user":"lori.carter","type":"","message":"aliquam ut quae necessitatibus eveniet qui est harum numquam est. aspernatur eius architecto voluptates laborum qui pariatur. esse qui est eum fugit molestias error perferendis quis. sequi eligendi amet nihil quo quibusdam quas! ex numquam ipsum aperiam saepe cupiditate. quae rerum maiores eos nemo officiis et id et exercitationem sint. fuga rerum aliquam eaque qui aut doloremque adipisci voluptatem quia. harum est aut molestias.\nab dolorem est quibusdam expedita.\net dignissimos ullam tempora ut et velit sit non!","props":{},"create_at":1768907263720,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["lois.harper","nancy.sanders"],"user":"lois.harper","type":"","message":"similique expedita architecto omnis illo.\nut in hic quia occaecati enim laudantium recusandae.\nnobis vero fugiat aut.","props":{},"create_at":1768924408352,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
+{"type":"direct_post","direct_post":{"channel_members":["sysadmin","rebecca.diaz","eugene.montgomery","lori.carter","guest"],"user":"lori.carter","type":"","message":"\n * vitae\n * animi\n * dolor","props":{},"create_at":1768911268353,"edit_at":0,"flagged_by":[],"reactions":null,"replies":null,"attachments":null,"is_pinned":false}}
diff --git a/zerver/tests/test_mattermost_importer.py b/zerver/tests/test_mattermost_importer.py
index 90d0f0af301..f22ef9d5dfb 100644
--- a/zerver/tests/test_mattermost_importer.py
+++ b/zerver/tests/test_mattermost_importer.py
@@ -1,11 +1,17 @@
import filecmp
import os
+import shutil
import sys
+import tempfile
+from collections import defaultdict
+from collections.abc import Sequence
+from dataclasses import dataclass
from typing import Any
from unittest.mock import patch
import orjson
from django.test import override_settings
+from django_stubs_ext import QuerySetAny
from zerver.data_import.import_util import SubscriberHandler, UploadRecordData, ZerverFieldsT
from zerver.data_import.mattermost import (
@@ -30,11 +36,21 @@ from zerver.data_import.user_handler import UserHandler
from zerver.lib.emoji import name_to_codepoint
from zerver.lib.import_realm import do_import_realm
from zerver.lib.test_classes import ZulipTestCase
-from zerver.models import Message, Reaction, Recipient, UserProfile
+from zerver.lib.thumbnail import THUMBNAIL_ACCEPT_IMAGE_TYPES
+from zerver.models import Attachment, Message, Reaction, Recipient, UserProfile
from zerver.models.presence import PresenceSequence
from zerver.models.realms import get_realm
-from zerver.models.streams import Stream
+from zerver.models.streams import Stream, get_stream
from zerver.models.users import get_user
+from zerver.tests.test_import_export import make_export_output_dir
+from zerver.tests.test_microsoft_teams_importer import get_channel_subscriber_emails
+
+
+@dataclass
+class MattermostUserMaps:
+ exported_bot_usernames: list[str]
+ username_to_email_map: dict[str, str]
+ exported_channel_subscriber_dict: dict[str, set[str]]
class MattermostImportTestBase(ZulipTestCase):
@@ -46,12 +62,248 @@ class MattermostImportTestBase(ZulipTestCase):
with open(full_path, "rb") as f:
return orjson.loads(f.read())
+ def assert_imported_messages_match_exported(
+ self,
+ importable_messages: Sequence[dict[str, Any]],
+ imported_messages: QuerySetAny[Message, Message],
+ username_to_email_map: dict[str, str],
+ ) -> None:
+ exported_message_datetimes: list[float] = []
+ exported_sender_messages_map: dict[str, list[float]] = defaultdict(list)
+
+ for message in importable_messages:
+ message_datesent = float(int(message["create_at"] / 1000))
+ exported_message_datetimes.append(message_datesent)
+ exported_sender_messages_map[username_to_email_map[message["user"]]].append(
+ message_datesent
+ )
+
+ imported_message_datetimes: list[float] = []
+ imported_sender_messages_map: dict[str, list[float]] = defaultdict(list)
+ last_date_sent: float = float("-inf")
+
+ for imported_message in imported_messages:
+ message_date_sent = imported_message.date_sent.timestamp()
+
+ # Imported messages are sorted chronologically.
+ self.assertLessEqual(last_date_sent, message_date_sent)
+ last_date_sent = message_date_sent
+
+ # We have some unit tests that check the message content is converted
+ # correctly: test_do_convert_data, test_do_convert_data_with_direct_messages
+ # and test_do_convert_data_with_prefering_direct_messages_for_1_to_1_messages.
+ self.assertIsNotNone(imported_message.content)
+ self.assertIsNotNone(imported_message.rendered_content)
+
+ imported_message_datetimes.append(message_date_sent)
+ imported_sender_messages_map[imported_message.sender.email].append(message_date_sent)
+
+ self.assertListEqual(
+ sorted(imported_message_datetimes),
+ sorted(exported_message_datetimes),
+ )
+
+ # Message sender is correct.
+ for sender_email, users_exported_message_datetimes in exported_sender_messages_map.items():
+ self.assertListEqual(
+ sorted(users_exported_message_datetimes),
+ sorted(imported_sender_messages_map[sender_email]),
+ )
+
+ def build_user_maps(
+ self,
+ mattermost_data: dict[str, Any],
+ ) -> MattermostUserMaps:
+ exported_bot_usernames: list[str] = [user["username"] for user in mattermost_data["bot"]]
+
+ username_to_email_map: dict[str, str] = {}
+ exported_channel_subscriber_dict: dict[str, set[str]] = defaultdict(set)
+
+ for user in mattermost_data["user"]:
+ username_to_email_map[user["username"]] = user["email"]
+ for channel in user["teams"][0]["channels"]:
+ exported_channel_subscriber_dict[channel["name"]].add(user["email"])
+
+ return MattermostUserMaps(
+ exported_bot_usernames=exported_bot_usernames,
+ username_to_email_map=username_to_email_map,
+ exported_channel_subscriber_dict=exported_channel_subscriber_dict,
+ )
+
+ def run_convert_and_import(
+ self,
+ export_file_name: str,
+ fixture_dir: str,
+ team_name: str,
+ subdomain: str,
+ ) -> tuple[dict[str, Any], Any]:
+ fixture_file = self.fixture_file_name(export_file_name, fixture_dir)
+ mattermost_data = mattermost_data_file_to_dict(fixture_file)
+
+ mattermost_data_dir = self.fixture_file_name("", fixture_dir)
+ output_dir = make_export_output_dir()
+
+ with self.assertLogs(level="INFO"):
+ do_convert_data(
+ mattermost_data_dir=mattermost_data_dir,
+ output_dir=output_dir,
+ masking_content=True,
+ )
+
+ team_output_dir = self.team_output_dir(output_dir, team_name)
+
+ with self.assertLogs(level="INFO"):
+ do_import_realm(import_dir=team_output_dir, subdomain=subdomain)
+
+ imported_realm = get_realm(subdomain)
+ return mattermost_data, imported_realm
+
+ def assert_user_conversion(
+ self,
+ mattermost_data: dict[str, Any],
+ imported_realm: Any,
+ expected_owner_emails: set[str],
+ expected_guest_emails: set[str],
+ ) -> None:
+ imported_user_profiles = UserProfile.objects.filter(realm=imported_realm)
+ self.assert_length(imported_user_profiles, len(mattermost_data["user"]))
+
+ imported_users = imported_user_profiles.filter(is_bot=False, is_mirror_dummy=False)
+ self.assert_length(imported_users, len(mattermost_data["user"]))
+
+ imported_realm_owners = imported_user_profiles.filter(
+ is_bot=False, role=UserProfile.ROLE_REALM_OWNER, is_mirror_dummy=False
+ )
+ self.assertSetEqual(
+ {owner.email for owner in imported_realm_owners},
+ expected_owner_emails,
+ )
+
+ imported_realm_guests = imported_user_profiles.filter(
+ is_bot=False, role=UserProfile.ROLE_GUEST, is_mirror_dummy=False
+ )
+ self.assertSetEqual(
+ {guest.email for guest in imported_realm_guests},
+ expected_guest_emails,
+ )
+
+ def assert_channel_conversion(
+ self,
+ mattermost_data: dict[str, Any],
+ imported_realm: Any,
+ exported_channel_subscriber_dict: dict[str, set[str]],
+ excluded_user_emails: set[str],
+ ) -> None:
+ for channel_data in mattermost_data["channel"]:
+ channel_name = channel_data["display_name"]
+ mattermost_channel_id = channel_data["name"]
+ imported_channel = Stream.objects.get(realm=imported_realm, name=channel_name)
+
+ self.assertEqual(imported_channel.description, channel_data["purpose"])
+ self.assertEqual(imported_channel.invite_only, channel_data["type"] == "P")
+
+ # TODO: We convert guest users but don't properly subscribe them to the
+ # channels they follow.
+ expected_subscribers = set(
+ exported_channel_subscriber_dict[mattermost_channel_id]
+ ).difference(excluded_user_emails)
+
+ self.assertSetEqual(
+ expected_subscribers,
+ get_channel_subscriber_emails(imported_realm, imported_channel),
+ )
+
+ def assert_channel_messages(
+ self,
+ mattermost_data: dict[str, Any],
+ imported_realm: Any,
+ mattermost_channel_id: str,
+ channel_display_name: str,
+ exported_bot_usernames: list[str],
+ username_to_email_map: dict[str, str],
+ ) -> None:
+ imported_channel = get_stream(channel_display_name, imported_realm)
+ imported_channel_messages = Message.objects.filter(
+ recipient=imported_channel.recipient,
+ realm=imported_realm,
+ sender__is_bot=False,
+ ).order_by("id")
+
+ importable_messages: list[dict[str, Any]] = []
+ # Get all exported channel messages that in theory we should be able to
+ # convert and import. We can't import bot users and their messages just yet.
+ for m in mattermost_data["post"]["channel_post"]:
+ if m["channel"] != mattermost_channel_id or m["user"] in exported_bot_usernames:
+ continue
+ importable_messages.append(m)
+ if m["replies"] is not None:
+ importable_messages += [
+ r for r in m["replies"] if r["user"] not in exported_bot_usernames
+ ]
+
+ self.assert_length(imported_channel_messages, len(importable_messages))
+ self.assert_imported_messages_match_exported(
+ importable_messages, imported_channel_messages, username_to_email_map
+ )
+
+ def assert_direct_messages(
+ self,
+ mattermost_data: dict[str, Any],
+ imported_realm: Any,
+ excluded_usernames: list[str],
+ username_to_email_map: dict[str, str],
+ ) -> None:
+ imported_dms = Message.objects.filter(
+ recipient__type__in=[Recipient.PERSONAL, Recipient.DIRECT_MESSAGE_GROUP],
+ realm=imported_realm,
+ sender__is_bot=False,
+ ).order_by("id")
+
+ importable_dms: list[dict[str, Any]] = []
+ for m in mattermost_data["post"]["direct_post"]:
+ if m["user"] in excluded_usernames:
+ continue
+ # We don't convert deleted or bot users messages yet. So 1-1 direct
+ # messages sent from importable users to them also won't be converted.
+ if len(set(m["channel_members"]) - set(excluded_usernames)) < 2:
+ continue
+ importable_dms.append(m)
+ if m["replies"] is not None:
+ importable_dms += [r for r in m["replies"] if r["user"] not in excluded_usernames]
+
+ self.assert_length(imported_dms, len(importable_dms))
+ self.assert_imported_messages_match_exported(
+ importable_dms, imported_dms, username_to_email_map
+ )
+
+ def assert_attachments(
+ self,
+ imported_realm: Any,
+ expected_count: int,
+ ) -> None:
+ imported_attachments = Attachment.objects.filter(realm=imported_realm)
+ self.assertTrue(imported_attachments.exists())
+ self.assert_length(imported_attachments, expected_count)
+
+ for attachment in imported_attachments:
+ for message in Message.objects.filter(realm=imported_realm, attachment=attachment):
+ self.assertTrue(message.has_attachment)
+ self.assertEqual(
+ message.has_image, attachment.content_type in THUMBNAIL_ACCEPT_IMAGE_TYPES
+ )
+ self.assertTrue(message.has_link)
+ assert isinstance(message.rendered_content, str)
+ self.assertIn(
+ f"/user_uploads/{attachment.path_id}",
+ message.rendered_content,
+ )
+
class MatterMostImporter(MattermostImportTestBase):
def test_mattermost_data_file_to_dict(self) -> None:
fixture_file_name = self.fixture_file_name("export.json", "mattermost_fixtures")
mattermost_data = mattermost_data_file_to_dict(fixture_file_name)
- self.assert_length(mattermost_data, 7)
+ self.assert_length(mattermost_data, 9)
self.assertEqual(mattermost_data["version"], [1])
@@ -1266,3 +1518,92 @@ class MatterMostImporter(MattermostImportTestBase):
self.assertIsNotNone(message.rendered_content)
self.verify_emoji_code_foreign_keys()
+
+ def test_import_unknown_jsonl_file(self) -> None:
+ export_dir = tempfile.mkdtemp()
+ output_dir = self.make_import_output_dir("mattermost")
+ try:
+ with self.assertRaises(AssertionError) as e:
+ do_convert_data(
+ mattermost_data_dir=export_dir,
+ output_dir=output_dir,
+ masking_content=True,
+ )
+ self.assertEqual(
+ f"Missing import.jsonl or export.json file in {export_dir}. Files: []",
+ str(e.exception),
+ )
+ finally:
+ shutil.rmtree(export_dir)
+
+
+class MattermostV1110ImportTest(MattermostImportTestBase):
+ FIXTURE_DIR = "mattermost_v11.1.0_fixtures/raw_mmctl_output"
+ SUBDOMAIN = "test-realm"
+ TEAM = "ad-1"
+
+ OWNER_EMAILS = {"[email protected]"}
+ GUEST_EMAILS = {"[email protected]"}
+
+ def test_mattermost_data_file_to_dict(self) -> None:
+ fixture_file = self.fixture_file_name("import.jsonl", self.FIXTURE_DIR)
+ mattermost_data = mattermost_data_file_to_dict(fixture_file)
+
+ self.assert_length(mattermost_data, 9)
+ self.assert_length(mattermost_data["team"], 1)
+ self.assertEqual(mattermost_data["team"][0]["name"], "ad-1")
+ self.assert_length(mattermost_data["channel"], 4)
+ self.assert_length(mattermost_data["user"], 17)
+ self.assert_length(mattermost_data["emoji"], 0)
+ self.assert_length(mattermost_data["post"]["channel_post"], 50)
+ self.assert_length(mattermost_data["post"]["direct_post"], 50)
+ self.assert_length(mattermost_data["direct_channel"], 79)
+ self.assert_length(mattermost_data["role"], 23)
+ self.assert_length(mattermost_data["bot"], 3)
+
+ def test_e2e_export_data_v11_1_0(self) -> None:
+ mattermost_data, imported_realm = self.run_convert_and_import(
+ export_file_name="import.jsonl",
+ fixture_dir=self.FIXTURE_DIR,
+ team_name=self.TEAM,
+ subdomain="test-realm",
+ )
+ user_map_data = self.build_user_maps(mattermost_data)
+
+ with self.subTest("test user conversion"):
+ self.assert_user_conversion(
+ mattermost_data,
+ imported_realm,
+ self.OWNER_EMAILS,
+ self.GUEST_EMAILS,
+ )
+
+ with self.subTest("test channel conversion"):
+ self.assert_channel_conversion(
+ mattermost_data=mattermost_data,
+ imported_realm=imported_realm,
+ exported_channel_subscriber_dict=user_map_data.exported_channel_subscriber_dict,
+ excluded_user_emails=self.GUEST_EMAILS,
+ )
+
+ with self.subTest("test channel message conversion"):
+ self.assert_channel_messages(
+ mattermost_data,
+ imported_realm,
+ # "sequi-7" is the Mattermost channel ID of "nesciunt"
+ mattermost_channel_id="sequi-7",
+ channel_display_name="nesciunt",
+ exported_bot_usernames=user_map_data.exported_bot_usernames,
+ username_to_email_map=user_map_data.username_to_email_map,
+ )
+
+ with self.subTest("test direct messages"):
+ self.assert_direct_messages(
+ mattermost_data,
+ imported_realm,
+ user_map_data.exported_bot_usernames,
+ user_map_data.username_to_email_map,
+ )
+
+ with self.subTest("test attachments"):
+ self.assert_attachments(imported_realm, expected_count=3)