Skip to content

Replies to a thread don't get exported #1448

@miparnisari

Description

@miparnisari

Version

v2.46

Flavor

GUI (Graphical User Interface)

Platform

Windows 10

Export format

JSON

Steps to reproduce

Thread with 7 responses: https://discord.com/channels/844600078504951838/844600078948630559/1084249090889613362

When I exported the contents of this server, including that thread, I got only these 2 messages: the original message that started the thread, and a message "started a thread".

{
      "id": "1084249090889613362",
      "type": "Default",
      "timestamp": "2023-03-11T14:58:47.642-08:00",
      "timestampEdited": null,
      "callEndedTimestamp": null,
      "isPinned": false,
      "content": "Is anyone else attending Gartner IAM summit next week?",
      "author": {
        "id": "864655500791644223",
        "name": "_hcguy",
        "discriminator": "0000",
        "nickname": "hcguy",
        "color": null,
        "isBot": false,
        "roles": [],
        "avatarUrl": "https://cdn.discordapp.com/embed/avatars/5.png"
      },
      "attachments": [],
      "embeds": [],
      "stickers": [],
      "reactions": [],
      "mentions": [],
      "inlineEmojis": []
    }
},
{
      "id": "1084834483070586921",
      "type": "ThreadCreated",
      "timestamp": "2023-03-13T06:44:56.014-07:00",
      "timestampEdited": null,
      "callEndedTimestamp": null,
      "isPinned": false,
      "content": "Started a thread.",
      "author": {
        "id": "532247156581466113",
        "name": "dsieczko",
        "discriminator": "0000",
        "nickname": "dsieczko",
        "color": null,
        "isBot": false,
        "roles": [],
        "avatarUrl": "https://cdn.discordapp.com/avatars/532247156581466113/802a87ed516ed613b717d6102a8dff99.png?size=512"
      },
      "attachments": [],
      "embeds": [],
      "stickers": [],
      "reactions": [],
      "mentions": [],
      "reference": {
        "messageId": null,
        "channelId": "1084249090889613362",
        "guildId": "844600078504951838"
      },
      "inlineEmojis": []
    },

Details

I expected to see all 7 replies to that thread exported.

I expected to see the "started a thread" message to be linked to the original message via the reference.messageId field, and not reference.channelId.

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
  • I have not read any of the above and just checked all the boxes to submit the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions