Commit Graph

20 Commits

Author SHA1 Message Date
vini
ffec4af454 feat: add event that handles join approval requests (#802)
* initial commit

* lint

* add type in method

* add more actions / fixes participant jid / rename event

* fixes

* more fixes

* fix typing

* change 'reject' to 'rejected'

* chore:linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-03 00:10:36 +03:00
Rajeh Taher
97dd960d01 Merge pull request #363 from aliazhar-id/aliazhar-patch-2
Feat: add authors who perform participant updates
2024-01-01 01:28:07 +02:00
Rajeh Taher
7cc604a9b5 share, receive, request, all you want 2023-10-01 21:43:00 +00:00
aliazhar
55cae0e45f Feat: add authors who perform participant updates 2023-09-03 14:41:08 +07:00
Rafael Garcia
38f285760d feat(labels): modify chat utils 2023-05-14 12:44:19 -05:00
Adhiraj Singh
34f8f60d31 chore: lint 2023-02-21 11:49:59 +05:30
Adhiraj Singh
d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh
e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh
7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh
b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh
06ce5f9be0 feat: add media retry for MD 2022-06-01 13:04:45 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh
9fee7faaf6 feat: add message events for reactions 2022-03-23 00:40:46 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
92587bd46a refactor: use the proto UserReceipt instead of custom MessageInfo 2022-01-22 00:27:00 +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
09553def8a fix: include isLatest in events 2022-01-16 12:54:08 +05:30
Adhiraj Singh
677f50baaa feat: add contacts to chats.set event 2021-12-20 13:59:04 +05:30
Adhiraj Singh
19a9980492 feat: add legacy connection 2021-12-17 19:27:04 +05:30