feat: enhance Mattermost mirror with direct-message and group DM labeling for improved clarity
This commit is contained in:
@@ -69,6 +69,12 @@ and `threads/...` when a single discussion thread is the relevant evidence.
|
||||
This mirrors Slack's export pattern of one folder per conversation with one file
|
||||
per date, while adding Mattermost-specific thread views.
|
||||
|
||||
Direct-message channels are labeled as `dm-<user-a>--<user-b>` when the mirror
|
||||
has seen enough user metadata to resolve the Mattermost channel ID. Group DMs
|
||||
use `group-...`. If a DM was first captured before the relevant user metadata
|
||||
arrived, the folder can temporarily use raw IDs; later captures use the readable
|
||||
label and `refs/channels.json` remains the source for resolving channel IDs.
|
||||
|
||||
The mirror writes any post payload it sees, including older messages returned
|
||||
when the desktop app loads channel history or a thread. It dedupes by `post_id`,
|
||||
so scrolling back through useful history is a safe way to backfill missing local
|
||||
|
||||
Reference in New Issue
Block a user