Commit Graph

41 Commits

Author SHA1 Message Date
Szymon Szlachtowicz c52a7963d2
Load messages until message is found or 30 days (#56) 2021-10-08 10:21:59 +02:00
Franck Royer 964f322ee2
Add interface to join chat using `Chat` 2021-10-08 14:56:00 +11:00
Franck Royer 907eacaa6c
Export more types from root 2021-10-08 14:41:28 +11:00
Franck Royer d677958a22
Move test near file 2021-10-08 14:29:11 +11:00
Franck Royer aef476cc4d
Correct chat id 2021-10-08 14:29:11 +11:00
Franck Royer 9d9723d137
Instantiate chat from community 2021-10-08 14:29:11 +11:00
Franck Royer 4fc7d6cc62
Enforce function return types
Very useful for proto wire types as all fields are optional but not
always reflected in the generated type.
2021-10-08 14:29:11 +11:00
Franck Royer 2ee6b74787
Instantiate Community and retrieve details 2021-10-08 14:29:11 +11:00
Franck Royer 43ecd31e76
Generation of content topic is the same for chats and communities 2021-10-08 14:29:10 +11:00
Franck Royer 9f6abaf952
Create util mod with `bufToHex` that includes 0x prefix
As this is how the string is represented for Community id.
2021-10-08 14:29:10 +11:00
Franck Royer 5d04f731a7
Move proto wrappers in wire folder 2021-10-08 14:29:09 +11:00
Franck Royer 64abd9dd2e
A message contains either text or media 2021-10-08 11:29:15 +11:00
Franck Royer e6b3ec616a
Add Audio, Image and Sticker messages 2021-10-07 15:18:28 +11:00
Franck Royer 304a1021b1
Add function to create media messages 2021-10-07 15:18:28 +11:00
Franck Royer 749c15cf91
Provide message timestamp to caller 2021-10-07 15:09:49 +11:00
Franck Royer db7fa52fa9
Add getters for all usable fields 2021-10-06 14:10:28 +11:00
Franck Royer 8f90c177fb
Specify return types 2021-10-06 13:55:01 +11:00
Franck Royer 04690b553a
Create promises before dialing 2021-10-06 13:51:24 +11:00
Szymon Szlachtowicz ea49955412
Use retrieve previous messages (#39) 2021-10-05 14:47:18 +02:00
Franck Royer 2f98d4e240
Merge pull request #9 from status-im/store 2021-10-05 13:53:26 +11:00
Franck Royer 3a204c9ad4
Merge pull request #12 from status-im/ci-timeout 2021-10-05 13:52:42 +11:00
Szymon Szlachtowicz 0f9572cbfb
Use history in messaging (#21) 2021-09-30 10:44:32 +02:00
Szymon Szlachtowicz 9275f9cb0f
Use messenger for messages (#16) 2021-09-28 15:17:08 +02:00
Franck Royer f1ae5a1639
test: Add debug logging 2021-09-27 11:08:14 +10:00
Franck Royer dc616b5013
Upgrade js-waku to 13.1 2021-09-24 13:24:49 +10:00
Franck Royer 4571903bf4
Add interface to retrieve previous messages 2021-09-24 13:22:15 +10:00
Franck Royer b1ddcb5c49
Add CI 2021-09-24 12:48:32 +10:00
Franck Royer 30e123a418
Add API to retrieve signers on a message 2021-09-23 16:08:06 +10:00
Franck Royer 14849fe62f
Add signature to Waku messages 2021-09-23 15:47:21 +10:00
Franck Royer 8f702928bc
Add encryption for chat groups 2021-09-23 15:42:15 +10:00
Franck Royer bbf5cc6b00
Wrap chat message in ApplicationMetadataMessage 2021-09-23 14:33:09 +10:00
Franck Royer 5dd482be11
It's actually communities v1 2021-09-23 11:29:00 +10:00
Franck Royer 6baf953e98
Test pass 2021-09-22 15:11:08 +10:00
Franck Royer 9c2f497c9e
Send and receive message 2021-09-22 15:05:36 +10:00
Franck Royer 4af46a8320
Sort typescript building with mocha 2021-09-15 12:05:33 +10:00
Franck Royer f95ca1decc
Setting up ws scripts 2021-09-14 16:02:01 +10:00
Franck Royer fbbf02af01
Add messenger 2021-09-14 15:16:40 +10:00
Franck Royer b6dc7d5dba
Fix build 2021-09-14 14:09:09 +10:00
Franck Royer 761c1feebd
Install formatting 2021-09-14 13:50:27 +10:00
Franck Royer 9a1f6a3286
Started building 2021-09-14 12:50:33 +10:00
Franck Royer d72170cb11
Setup status-communities package 2021-09-13 15:54:05 +10:00