Browse Source

data

push-params
Evan Feenstra 4 years ago
parent
commit
1558b5510a
  1. 1
      dist/src/hub.js
  2. 2
      dist/src/hub.js.map
  3. 1
      src/hub.ts

1
dist/src/hub.js

@ -223,6 +223,7 @@ const sendNotification = (chat, name, type) => __awaiter(void 0, void 0, void 0,
return; // skip on Android if no actual message
}
params.notification = notification;
params.notification.data = { chat_id: chat.id };
if (type === 'message' && chat.type == constants.chat_types.tribe) {
debounce(() => {
const count = tribeCounts[chat.id] ? tribeCounts[chat.id] + ' ' : '';

2
dist/src/hub.js.map

File diff suppressed because one or more lines are too long

1
src/hub.ts

@ -229,6 +229,7 @@ const sendNotification = async (chat, name, type:NotificationType) => {
if(isAndroid) return // skip on Android if no actual message
}
params.notification = notification
params.notification.data = {chat_id:chat.id}
if(type==='message' && chat.type==constants.chat_types.tribe){
debounce(()=>{

Loading…
Cancel
Save