23 lines
709 B
TypeScript
23 lines
709 B
TypeScript
// Metro module 8649 (f8650).
|
|
import * as _DisplayedInviteStore from "../../stores/native/DisplayedInviteStore";
|
|
import Dispatcher from "../../Dispatcher";
|
|
import InstantInviteActionCreators from "../InstantInviteActionCreators";
|
|
export function showInvite(a0, a1, a2) {
|
|
const r1 = a2 == null ? {} : a2;
|
|
const { deeplinkAttemptId, fromDeeplink, location: location2 } = r1;
|
|
_DisplayedInviteStore;
|
|
Dispatcher.dispatch({
|
|
type: "DISPLAYED_INVITE_SHOW",
|
|
code: a0,
|
|
username: a1,
|
|
deeplinkAttemptId,
|
|
fromDeeplink
|
|
});
|
|
InstantInviteActionCreators.resolveInvite(a0, location2);
|
|
}
|
|
export function clearDisplayedInvite() {
|
|
Dispatcher.dispatch({
|
|
type: "DISPLAYED_INVITE_CLEAR"
|
|
});
|
|
}
|