MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / h

Function h

scripts/backup/openfbchat.js:130–152  ·  view source on GitHub ↗
(a, b, e)

Source from the content-addressed store, hash-verified

128 }
129 }
130 function h(a, b, e) {
131 b = c("bs_caml_int64").of_int32(b);
132 if (c("bs_caml").i64_eq(b, d("MessagingThreadType.bs").oneToOne))
133 if (e)
134 return {
135 NAME: "Page",
136 VAL: a,
137 };
138 else
139 return {
140 NAME: "User",
141 VAL: a,
142 };
143 else if (
144 c("bs_caml").i64_eq(b, d("MessagingThreadType.bs").marketplace) ||
145 c("bs_caml").i64_eq(b, d("MessagingThreadType.bs").group)
146 )
147 return {
148 NAME: "Group",
149 VAL: a,
150 };
151 else return;
152 }
153 function i(a) {
154 switch (a.targetType) {
155 case "GROUP":

Callers 3

aFunction · 0.70
mFunction · 0.70
fb-proxy.jsFile · 0.70

Calls 4

bFunction · 0.70
aFunction · 0.70
cFunction · 0.50
dFunction · 0.50

Tested by

no test coverage detected