Commit Graph

393 Commits

Author SHA1 Message Date
Adhiraj Singh
ebf4aa6772 fix: normalize participant in last message 2022-04-06 20:43:09 +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
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
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
0a331ceab3 fix: toNumber 2022-03-29 20:22:50 +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
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
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
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
fef6b9c6f3 chore: use normalizeMessageContent in message 2022-03-23 16:18:51 +05:30
Ami
3a52f06c0f Added ReactionMessage for React User Message with Emoji (#1382)
* Add react type

* Add ReactionMessage

* Add reactionMessage example...

* Lint fix...
2022-03-23 00:35:13 +05:30
kaatt
c8ced28ed4 consistency fixes for getUserAgent, update version (#1392)
* fixes to getUserAgent

* update version
2022-03-22 00:46:01 +05:30
Adhiraj Singh
b7713673b2 chore: match reg data 2022-03-21 23:31:07 +05:30
Adhiraj Singh
f83ee95abb chore: update browser versions 2022-03-21 23:30:35 +05:30
Adhiraj Singh
d238826815 chore: import cleanup 2022-03-19 08:26:40 +05:30
Adhiraj Singh
0a02742060 fix: use semver for os build number 2022-03-19 08:25:59 +05:30
Adhiraj Singh
2b10b7b18f chore: minor code cleanup 2022-03-14 19:38:01 +05:30
Adhiraj Singh
2e61d04d68 feat: include correct browser version in connect 2022-03-07 19:45:59 +05:30
Adhiraj Singh
179db2c520 fix: use correct version in validation 2022-03-07 19:20:41 +05:30
Adhiraj Singh
93262b38f4 fix: history sync missing contacts 2022-03-07 18:17:43 +05:30
Adhiraj Singh
238cde23b7 feat: automatic upload detection for product images 2022-03-07 15:33:52 +05:30
Adhiraj Singh
6967e53164 feat: implement product CRUD on MD 2022-03-07 09:09:08 +05:30
Adhiraj Singh
c4edcef5da feat: implement fetching product catalog + order details on MD 2022-03-06 13:30:11 +05:30
Adhiraj Singh
f2c91bcedd refactor: split downloadMediaMessage into functional components 2022-03-04 16:50:39 +05:30
Adhiraj Singh
5c05a5d34b feat: add normalizeMessageContent util 2022-03-04 12:27:10 +05:30
kaatt
7f495cf5f1 fix ephemeral view once message (#1307)
* fix ephemeral view once message

* fix ephemeral view once message
2022-03-03 01:01:41 +05:30
Adhiraj Singh
d192ffe6bc fix: forward message content 2022-03-02 00:06:38 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
c00c3da313 fix: BufferJSON failing with empty string 2022-03-01 16:30:11 +05:30
Adhiraj Singh
75582e4541 feat: add WA Web version auto fetch 2022-02-20 19:43:15 +05:30
Adhiraj Singh
913b38493c fix: throw error if no decrypt-able message found 2022-02-17 10:32:51 +05:30
Adhiraj Singh
0da4621999 feat: map template message content 2022-02-12 19:54:53 +05:30
Adhiraj Singh
e4eaf2d2e4 chore: update proto 2022-02-12 19:48:46 +05:30
Adhiraj Singh
1f2a6641f3 feat: mutex processing in a chat to preserve order of events 2022-01-22 14:07:06 +05:30
Adhiraj Singh
08cd253e90 feat: add 'updateMessageWithReceipt' utility 2022-01-22 12:05:38 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +05:30
Adhiraj Singh
793b23cb21 refactor: history processing
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
f09e0f85cc feat: add getContentType 2022-01-13 16:26:56 +05:30
Adhiraj Singh
127e21b920 feat: implement getAuthenticationCredsType 2022-01-08 11:27:19 +05:30
Adhiraj Singh
67f3ddeaff chore: remove null status from not fromMe msgs 2022-01-07 21:24:29 +05:30
Adhiraj Singh
6c08f0cd76 fix: incorrect from me 2022-01-07 21:15:27 +05:30
Adhiraj Singh
d15bde5d17 refactor: app state handling
1. fixes snapshot patches not being included
2. fixes all mutations being passed when syncing from scratch
3. simpler chat mutation model
4. do not retry if key is not found
2022-01-07 14:29:52 +05:30
Adhiraj Singh
6a2cb5a413 refactor: message decoding
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30