aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/common/MessageUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/server/common/MessageUtils.js')
-rw-r--r--vnext/server/common/MessageUtils.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/vnext/server/common/MessageUtils.js b/vnext/server/common/MessageUtils.js
index 74638c02..b7ed8ec0 100644
--- a/vnext/server/common/MessageUtils.js
+++ b/vnext/server/common/MessageUtils.js
@@ -1,8 +1,5 @@
-import config from 'config';
-
/**
* check if message is PM
- *
* @param {import('../../src/api').Message} msg message
*/
export function isPM(msg) {
@@ -11,7 +8,6 @@ import config from 'config';
/**
* check if message is reply
- *
* @param {import('../../src/api').Message} msg message
*/
export function isReply(msg) {
@@ -20,7 +16,6 @@ export function isReply(msg) {
/**
* check if message is service one
- *
* @param {import('../../src/api').Message} msg message
*/
export function isService(msg) {
@@ -29,7 +24,6 @@ export function isService(msg) {
/**
* format notification title
- *
* @param {import('../../src/api').Message} msg message
* @returns {string} formatted title
*/
@@ -44,7 +38,6 @@ export function formatTitle(msg) {
/**
* format notification quote
- *
* @param { import('../../src/api').Message } msg message
* @returns {string} formatted quote line
*/
@@ -59,7 +52,6 @@ export function formatQuote(msg) {
/**
* format notification body
- *
* @param {import('../../src/api').Message} msg message
* @returns {string} formatted body
*/