21 lines
799 B
TypeScript
21 lines
799 B
TypeScript
// Metro module 16037 (f16038).
|
|
import { AnalyticEvents } from "../../../Constants";
|
|
import AnalyticsUtils from "../../../utils/AnalyticsUtils";
|
|
export default function trackStreamProblem(a0) {
|
|
const { problem, stream, feedback, streamApplication, analyticsData, location: location2, rating = null } = a0;
|
|
AnalyticsUtils.track(AnalyticEvents.STREAM_REPORT_PROBLEM, {
|
|
reason: problem,
|
|
category: a0.category,
|
|
reason_variant: a0.variant,
|
|
streamer_user_id: stream.ownerId,
|
|
stream_channel_id: stream.channelId,
|
|
guild_id: stream.guildId,
|
|
application_id: streamApplication != null ? streamApplication.id : null,
|
|
application_name: streamApplication != null ? streamApplication.name : null,
|
|
location: location2,
|
|
rating,
|
|
feedback,
|
|
...analyticsData
|
|
});
|
|
};
|