Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from mrepol742/master
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
mrepol742 authored Jan 5, 2024
2 parents b4d6483 + 9973552 commit 5b54a01
Show file tree
Hide file tree
Showing 46 changed files with 160 additions and 104 deletions.
174 changes: 115 additions & 59 deletions index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/redfox/src/addExternalModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

const utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/addUserToGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/createNewGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/createPoll.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/deleteMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/deleteThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/eventListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");
var mqtt = require("mqtt");
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/forwardAttachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getCurrentUserID.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

module.exports = function (defaultFuncs, api, ctx) {
return function getCurrentUserID() {
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getEmojiUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

const util = require("util");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getFriendsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

//var cheerio = require("cheerio");
var utils = require("../utils");
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getThreadHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getThreadInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");
function formatEventReminders(reminder) {
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getThreadList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

const utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getThreadPictures.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getUserID.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/getUserInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/handleFriendRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/handleMessageRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/httpGet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/httpPost.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/markAsDelivered.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/markAsRead.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/markAsReadAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/markAsSeen.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/muteThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/removeUserFromGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/resolvePhotoUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/searchForThread.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/sendMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");
var bluebird = require("bluebird");
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/sendTypingIndicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setAdminStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

const utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setArchivedStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setBio.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setBlockedStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setGroupImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");
var bluebird = require("bluebird");
Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setMessageReaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setNickname.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setPostReaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setThreadColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setThreadEmoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/setTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

var utils = require("../utils");

Expand Down
2 changes: 1 addition & 1 deletion src/redfox/src/threadColors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*jshint -W069 */
/*jshint -W083 */
/*jshint -W088 */
/*jshint -W038 */;
/*jshint -W038 */

module.exports = function (_defaultFuncs, _api, _ctx) {
// Currently the only colors that can be passed to api.setThreadColor(); may change if Facebook adds more
Expand Down
Loading

0 comments on commit 5b54a01

Please sign in to comment.