|
@ -13,6 +13,7 @@ let pusher = require('../push/pusher');
|
|
|
let redisConn = RedisClient.redisClient().connection;
|
|
|
|
|
|
const CONTENT_TYPES = require('../../include/commons').CONTENT_TYPES;
|
|
|
const SESSION_TYPES = require('../../include/commons').SESSION_TYPES;
|
|
|
const REDIS_KEYS = require('../../include/commons').REDIS_KEYS;
|
|
|
const PLATFORMS = require('../../include/commons').PLATFORM;
|
|
|
|
|
@ -98,7 +99,8 @@ class AppClient extends RedisModel {
|
|
|
message.content_type == CONTENT_TYPES.Image ||
|
|
|
message.content_type == CONTENT_TYPES.Audio||
|
|
|
message.content_type == CONTENT_TYPES.Video||
|
|
|
message.content_type == CONTENT_TYPES.GoTo) {
|
|
|
message.content_type == CONTENT_TYPES.GoTo||
|
|
|
sessionType==SESSION_TYPES.SYSTEM) {
|
|
|
|
|
|
AppClient.getAppStatus(targetId, function (err, userStatus) {
|
|
|
if (err) {
|