mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
crash fixes
This commit is contained in:
@@ -160,6 +160,7 @@ void ChannelList::SetListingFromGuildsInternal() {
|
||||
AddPrivateChannels();
|
||||
|
||||
// map each category to its channels
|
||||
|
||||
std::unordered_map<Snowflake, std::vector<const ChannelData *>> cat_to_channels;
|
||||
std::unordered_map<Snowflake, std::vector<const ChannelData *>> orphan_channels;
|
||||
for (const auto &[gid, guild] : *guilds) {
|
||||
|
||||
@@ -53,7 +53,7 @@ protected:
|
||||
std::queue<DiscordClient::Guilds_t> m_update_queue;
|
||||
void AddPrivateChannels(); // retard moment
|
||||
void SetListingFromGuildsInternal();
|
||||
void AttachMenuHandler(Gtk::ListBoxRow* row);
|
||||
void AttachMenuHandler(Gtk::ListBoxRow *row);
|
||||
|
||||
Abaddon *m_abaddon = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user