37 lines
943 B
TypeScript
37 lines
943 B
TypeScript
// Metro module 9565 (f9566).
|
|
import Dispatcher from "../../Dispatcher";
|
|
export function createPendingReply(a0) {
|
|
const { message, channel } = a0;
|
|
Dispatcher.dispatch({
|
|
type: "CREATE_PENDING_REPLY",
|
|
message,
|
|
channel,
|
|
shouldMention: a0.shouldMention,
|
|
showMentionToggle: a0.showMentionToggle,
|
|
source: a0.source,
|
|
mediaMention: a0.mediaMention
|
|
});
|
|
}
|
|
export function createShallowPendingReply(a0) {
|
|
return Dispatcher.dispatch({
|
|
type: "CREATE_SHALLOW_PENDING_REPLY",
|
|
messageId: a0.messageId,
|
|
channel: a0.channel,
|
|
shouldMention: a0.shouldMention,
|
|
showMentionToggle: a0.showMentionToggle
|
|
});
|
|
}
|
|
export function setPendingReplyShouldMention(a0, a1) {
|
|
Dispatcher.dispatch({
|
|
type: "SET_PENDING_REPLY_SHOULD_MENTION",
|
|
channelId: a0,
|
|
shouldMention: a1
|
|
});
|
|
}
|
|
export function deletePendingReply(a0) {
|
|
Dispatcher.dispatch({
|
|
type: "DELETE_PENDING_REPLY",
|
|
channelId: a0
|
|
});
|
|
}
|