Commit Graph

952 Commits

Author SHA1 Message Date
Adhiraj Singh
fae90a5214 chore: update proto 2022-04-14 20:34:07 +05:30
Adhiraj Singh
0cf17fb392 refactor: use Buffer instead of Binary 2022-04-13 13:21:15 +05:30
Adhiraj Singh
647138ffe5 chore: remove redundant ID flags in query 2022-04-13 13:20:56 +05:30
Adhiraj Singh
dda909eb05 feat: add "--no-store" + "--no-reply" flags to example 2022-04-13 13:20:43 +05:30
Adhiraj Singh
98c9af4acf feat: log fromMe messages in trace mode 2022-04-12 16:51:15 +05:30
Adhiraj Singh
850611e500 fix: typo in ciphertext check 2022-04-07 15:31:35 +05:30
Adhiraj Singh
39eb0d1427 docs: add logs 2022-04-07 11:45:09 +05:30
Adhiraj Singh
0d94315776 feat: handle unarchiveChats setting 2022-04-07 11:29:57 +05:30
Adhiraj Singh
ebf4aa6772 fix: normalize participant in last message 2022-04-06 20:43:09 +05:30
Adhiraj Singh
feb32465ca docs: logging + more docs 2022-04-06 20:41:07 +05:30
Muhamad Ristiyanto
e6e8e24ea9 fix browser icon and typo (#1450) 2022-04-06 13:36:15 +05:30
Adhiraj Singh
5aa64f2c39 feat: add readMessages function 2022-04-06 09:30:32 +05:30
Muhammad Fatkurozi
6d4fc87169 docs: too many tabs in code preview (#1453)
handling events, connection.update
2022-04-05 10:14:07 +05:30
Arthur Castro
032dcbc17a Fix: typo (#1457) 2022-04-05 10:13:44 +05:30
Adhiraj Singh
7f7ae5edbd fix: set "treatCiphertextMessagesAsReal" flag as default false 2022-04-04 23:56:04 +05:30
Adhiraj Singh
59f834ca39 fix: handle receipts more accurately
1. only send timestamp with read receipts
2. use unix timestamp in seconds instead of millis
3. use "sender" receipts for own messages
2022-04-03 11:27:13 +05:30
Adhiraj Singh
64bab02b7c fix: patch proto sync receipts 2022-04-03 00:15:06 +05:30
Adhiraj Singh
f9ffb0f4c8 refactor: send history sync later 2022-04-03 00:14:34 +05:30
Adhiraj Singh
bd682a8485 chore: update version 2022-04-02 15:57:28 +05:30
Adhiraj Singh
334f85f8c5 feat: handle "peer_msg" receipts 2022-04-02 15:45:09 +05:30
Adhiraj Singh
8663598292 chore: log proto objects to prevent buffer arrays being printed 2022-04-02 15:44:51 +05:30
Adhiraj Singh
8addc714c7 feat: add more receipt types 2022-04-02 15:44:22 +05:30
Adhiraj Singh
fa49af7c24 chore: correctly add log level to examples 2022-04-02 15:44:00 +05:30
Adhiraj Singh
355b0664df feat: handle encrypt notification 2022-04-02 13:37:10 +05:30
Adhiraj Singh
1da11c78aa chore: update version 2022-04-02 12:30:56 +05:30
Adhiraj Singh
0995b1231a fix: use string values in business catalog 2022-04-01 21:17:46 +05:30
dependabot[bot]
cd17da6898 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#1431)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 17:52:45 +05:30
Jefersson Lemes
ac9625adbb Fix status 'recording' on sendPresenceUpdate (#1437)
* Fix status 'recording' on sendPresenceUpdate

* lint chat.ts
2022-03-30 23:31:01 +05:30
Adhiraj Singh
0a331ceab3 fix: toNumber 2022-03-29 20:22:50 +05:30
Adhiraj Singh
ced2f5d5ab feat: debounced app state resync 2022-03-29 19:59:19 +05:30
Adhiraj Singh
6e34f2a0cd chore: update ts-node 2022-03-29 19:08:35 +05:30
Adhiraj Singh
806138a35e feat: add logging event stream 2022-03-29 18:25:42 +05:30
Adhiraj Singh
030a534637 fix: remove redundant chat updates 2022-03-29 18:25:17 +05:30
Adhiraj Singh
cc7c895320 fix: export correct processMessage function 2022-03-29 18:25:04 +05:30
Adhiraj Singh
ec6e904db4 refactor: process sync actions out of socket 2022-03-29 14:16:51 +05:30
Adhiraj Singh
ab9b232838 refactor: move processMessage out of socket 2022-03-29 14:04:14 +05:30
Adhiraj Singh
89e35ec18a feat: use transaction when uploading prekeys 2022-03-29 13:41:41 +05:30
Adhiraj Singh
bb9f233de4 chore: move ack of notification before processing 2022-03-29 13:41:25 +05:30
Adhiraj Singh
3d63b8fa01 Merge branch 'master' of https://github.com/adiwajshing/Baileys 2022-03-29 12:12:22 +05:30
Jefersson Lemes
3953e6df1f fix recording audio showing how typing (#1416) 2022-03-27 20:36:57 +05:30
Cesar Cejudo
54a448b2a8 Fix in-memory-store contacts (#1420)
fix issue where fromJSON loads contacts from the wrong variable
2022-03-27 20:36:28 +05:30
Catalin Bozan
6275b85eae Keep aspect ratio when generating thumbnails (#1409)
* fix: generated thumbnail ratio

* Delete myvid.mp4

* Delete thumb.jpeg
2022-03-25 16:23:38 +05:30
Alon Schwartzblat
eb8f8e0d72 Add join group by groupInviteMessage (#1355)
* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
2022-03-25 16:18:00 +05:30
Adhiraj Singh
c53a1b5cd4 chore: use correct logger in example 2022-03-24 23:57:17 +05:30
Adhiraj Singh
4b6e97cf93 feat: log timestamps in ISO format 2022-03-24 20:39:05 +05:30
Adhiraj Singh
1635b1e756 refactor: cleanup MD socket initial connect code + log more 2022-03-24 20:33:55 +05:30
Adhiraj Singh
f82f5470cd feat: reset ping timeout on any frame recv
Credit to @HUGEIT for suggesting this
2022-03-24 13:25:23 +05:30
Adhiraj Singh
6637e32be9 fix: fire presence when name is recv 2022-03-24 10:18:28 +05:30
Adhiraj Singh
4bfb0e1343 chore: log when encountered unexpected connection close 2022-03-24 10:14:23 +05:30
Adhiraj Singh
ba3cbd476e fix: correctly clear qrTimer 2022-03-24 10:13:57 +05:30