mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
working reporting system
This commit is contained in:
1 parent
8c1f823bcb
commit
ea77114da6
19 files changed
+264
-43
No files matched your search
@@ -112,3 +112,15 @@ RegisterNuiCallbackType(events.TWITTER_TOGGLE_LIKE);
|
||||
on(`__cfx_nui:${events.TWITTER_TOGGLE_LIKE}`, (tweetId: number) => {
|
||||
emitNet(events.TWITTER_TOGGLE_LIKE, tweetId);
|
||||
});
|
||||
|
||||
/**
|
||||
* Twitter reporting tweets
|
||||
*/
|
||||
RegisterNuiCallbackType(events.TWITTER_REPORT);
|
||||
on(`__cfx_nui:${events.TWITTER_REPORT}`, (tweetId: number) => {
|
||||
emitNet(events.TWITTER_REPORT, tweetId);
|
||||
});
|
||||
|
||||
onNet(events.TWITTER_REPORT_SUCCESS, () => {
|
||||
emitNet(events.TWITTER_FETCH_TWEETS);
|
||||
});
|
||||
Reference in new issue
Block a user