stuff
This commit is contained in:
parent
5eb2fed55a
commit
537e5761b5
|
@ -26,6 +26,7 @@
|
||||||
"CallUtils": {"props": ["getCalls", "isCallActive"]},
|
"CallUtils": {"props": ["getCalls", "isCallActive"]},
|
||||||
"CategoryCollapseStore": {"props": ["getCollapsedCategories", "isCollapsed"]},
|
"CategoryCollapseStore": {"props": ["getCollapsedCategories", "isCollapsed"]},
|
||||||
"CategoryCollapseUtils": {"props": ["categoryCollapse", "categoryCollapseAll"]},
|
"CategoryCollapseUtils": {"props": ["categoryCollapse", "categoryCollapseAll"]},
|
||||||
|
"ChannelUtils": {"props": ["selectChannel", "selectPrivateChannel"]},
|
||||||
"ChannelStore": {"props": ["getChannel", "getDMFromUserId"]},
|
"ChannelStore": {"props": ["getChannel", "getDMFromUserId"]},
|
||||||
"ColorUtils": {"props": ["hex2int", "hex2rgb"]},
|
"ColorUtils": {"props": ["hex2int", "hex2rgb"]},
|
||||||
"ContextMenuUtils": {"props": ["closeContextMenu", "openContextMenu"]},
|
"ContextMenuUtils": {"props": ["closeContextMenu", "openContextMenu"]},
|
||||||
|
@ -51,7 +52,7 @@
|
||||||
"GuildSettingsUtils": {"props": ["open", "updateGuild"]},
|
"GuildSettingsUtils": {"props": ["open", "updateGuild"]},
|
||||||
"GuildStore": {"props": ["getGuild", "getGuilds"]},
|
"GuildStore": {"props": ["getGuild", "getGuilds"]},
|
||||||
"GuildUnavailableStore": {"props": ["isUnavailable", "totalUnavailableGuilds"]},
|
"GuildUnavailableStore": {"props": ["isUnavailable", "totalUnavailableGuilds"]},
|
||||||
"GuildUtils": {"props": ["transitionToGuildSync"]},
|
"GuildUtils": {"props": ["selectGuild", "transitionToGuildSync"]},
|
||||||
"GuildWelcomeStore": {"props": ["hasSeen", "get"]},
|
"GuildWelcomeStore": {"props": ["hasSeen", "get"]},
|
||||||
"GuildWelcomeUtils": {"props": ["welcomeScreenViewed", "resetWelcomeScreen"]},
|
"GuildWelcomeUtils": {"props": ["welcomeScreenViewed", "resetWelcomeScreen"]},
|
||||||
"HistoryUtils": {"props": ["transitionTo", "replaceWith", "getHistory"]},
|
"HistoryUtils": {"props": ["transitionTo", "replaceWith", "getHistory"]},
|
||||||
|
@ -91,7 +92,6 @@
|
||||||
"ReactionUtils": {"props": ["addReaction", "removeReaction"]},
|
"ReactionUtils": {"props": ["addReaction", "removeReaction"]},
|
||||||
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
|
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
|
||||||
"SearchPageUtils": {"props": ["searchNextPage", "searchPreviousPage"]},
|
"SearchPageUtils": {"props": ["searchNextPage", "searchPreviousPage"]},
|
||||||
"SelectChannelUtils": {"props": ["selectChannel", "selectPrivateChannel"]},
|
|
||||||
"SettingsUtils": {"props": ["updateRemoteSettings", "updateLocalSettings"]},
|
"SettingsUtils": {"props": ["updateRemoteSettings", "updateLocalSettings"]},
|
||||||
"SimpleMarkdownParser": {"props": ["parseBlock", "parseInline", "defaultOutput"]},
|
"SimpleMarkdownParser": {"props": ["parseBlock", "parseInline", "defaultOutput"]},
|
||||||
"SlateUtils": {"props": ["serialize", "deserialize"], "notProps": ["getFlag"]},
|
"SlateUtils": {"props": ["serialize", "deserialize"], "notProps": ["getFlag"]},
|
||||||
|
|
|
@ -440,7 +440,8 @@ module.exports = (_ => {
|
||||||
tag: "span",
|
tag: "span",
|
||||||
className: BDFDB.disCN.messagespopoutchannelname,
|
className: BDFDB.disCN.messagespopoutchannelname,
|
||||||
onClick: _ => {
|
onClick: _ => {
|
||||||
BDFDB.LibraryModules.SelectChannelUtils.selectChannel(channel.guild_id, channel.id);
|
BDFDB.LibraryModules.GuildUtils.selectGuild(channel.guild_id);
|
||||||
|
BDFDB.LibraryModules.ChannelUtils.selectChannel(channel.guild_id, channel.id);
|
||||||
},
|
},
|
||||||
children: channelName ? ((channel.guild_id ? "#" : "@") + channelName) : "???"
|
children: channelName ? ((channel.guild_id ? "#" : "@") + channelName) : "???"
|
||||||
}),
|
}),
|
||||||
|
@ -467,7 +468,8 @@ module.exports = (_ => {
|
||||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
|
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
|
||||||
className: BDFDB.disCN.messagespopoutjumpbutton,
|
className: BDFDB.disCN.messagespopoutjumpbutton,
|
||||||
onClick: _ => {
|
onClick: _ => {
|
||||||
BDFDB.LibraryModules.SelectChannelUtils.selectChannel(channel.guild_id, channel.id, message.id);
|
BDFDB.LibraryModules.GuildUtils.selectGuild(channel.guild_id);
|
||||||
|
BDFDB.LibraryModules.ChannelUtils.selectChannel(channel.guild_id, channel.id, message.id);
|
||||||
},
|
},
|
||||||
children: BDFDB.ReactUtils.createElement("div", {
|
children: BDFDB.ReactUtils.createElement("div", {
|
||||||
children: BDFDB.LanguageUtils.LanguageStrings.JUMP
|
children: BDFDB.LanguageUtils.LanguageStrings.JUMP
|
||||||
|
|
Loading…
Reference in New Issue