preserve attachment insertion order

This commit is contained in:
ouwou
2022-06-16 01:09:54 -04:00
parent 4456c8771d
commit d0fa308f6e
2 changed files with 4 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ public:
[[nodiscard]] std::vector<ChatSubmitParams::Attachment> GetAttachments() const;
private:
std::set<ChatInputAttachmentItem *> m_attachments;
std::vector<ChatInputAttachmentItem *> m_attachments;
Gtk::Box m_box;