parent
fe906afd44
commit
bd08b69c87
2 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ exports.ExposeStore = () => {
|
|||
window.Store.AddonReactionTable = window.require('WAWebAddonReactionTableMode').reactionTableMode;
|
||||
window.Store.ChatGetters = window.require('WAWebChatGetters');
|
||||
window.Store.UploadUtils = window.require('WAWebUploadManager');
|
||||
window.Store.WAWebStreamModel = window.require('WAWebStreamModel');
|
||||
|
||||
window.Store.Settings = {
|
||||
...window.require('WAWebUserPrefsGeneral'),
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ exports.LoadUtils = () => {
|
|||
window.WWebJS.sendSeen = async (chatId) => {
|
||||
const chat = await window.WWebJS.getChat(chatId, { getAsModel: false });
|
||||
if (chat) {
|
||||
window.Store.WAWebStreamModel.Stream.markAvailable();
|
||||
await window.Store.SendSeen.sendSeen(chat);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue