feat: send typing in chat (#87)
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
This commit is contained in:
parent
72441beb37
commit
d35f101fac
1 changed files with 21 additions and 2 deletions
|
|
@ -255,6 +255,12 @@ exports.LoadUtils = () => {
|
|||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
window.WWebJS.typing = async (chatId) => {
|
||||
await window.Store.Wap.sendChatstateComposing(chatId);
|
||||
return true;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
exports.MarkAllRead = () => {
|
||||
|
|
@ -272,4 +278,4 @@ exports.MarkAllRead = () => {
|
|||
window.Store.Wap.sendConversationSeen(chat.id, chat.getLastMsgKeyForAction(), chat.unreadCount - chat.pendingSeenCount);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue