add events wrapping enum #18

Merged
sarah merged 7 commits from events into main 2022-07-21 15:56:25 +00:00
Owner
  • needs docs
- needs docs
dan added 1 commit 2022-07-07 06:53:24 +00:00
dan added 1 commit 2022-07-07 21:30:25 +00:00
dan added 1 commit 2022-07-14 23:33:48 +00:00
sarah approved these changes 2022-07-15 16:48:00 +00:00
src/event.rs Outdated
@ -0,0 +173,4 @@
/// user supplied picture path
picture: String,
/// is the profile online
online: String,
Owner

deprecate?

deprecate?
Author
Owner

still being populated by lcg

still being populated by lcg
src/event.rs Outdated
@ -0,0 +175,4 @@
/// is the profile online
online: String,
/// json of the contacts
contacts_json: String,
Owner

we could let serde parse into this structure

we could let serde parse into this structure
dan marked this conversation as resolved
src/event.rs Outdated
@ -0,0 +177,4 @@
/// json of the contacts
contacts_json: String,
/// json of known servers
server_json: String, //ServerList
Owner

same as above

same as above
dan marked this conversation as resolved
src/event.rs Outdated
@ -0,0 +276,4 @@
/// time message was received
timestamp_received: DateTime<FixedOffset>,
/// the message
message: String,
Owner

Parse into MessageOverlay?

Parse into MessageOverlay?
dan marked this conversation as resolved
src/event.rs Outdated
@ -0,0 +392,4 @@
/// conversation id
conversation_id: ConversationID,
/// time of message
timestamp_sent: DateTime<FixedOffset>,
Owner

Isn't this time UTC?

Isn't this time `UTC`?
Author
Owner

DateTime::parse_from_rfc3339 returns a DateTime

DateTime::parse_from_rfc3339 returns a DateTime<FixedOffset>
src/event.rs Outdated
@ -0,0 +398,4 @@
/// message index
index: i32,
/// the message
message: String,
Owner

Message Overlay?

Message Overlay?
dan marked this conversation as resolved
dan added 1 commit 2022-07-15 19:23:20 +00:00
dan added 1 commit 2022-07-15 19:43:32 +00:00
dan added 1 commit 2022-07-15 21:39:40 +00:00
sarah approved these changes 2022-07-15 22:06:39 +00:00
dan added 1 commit 2022-07-21 08:04:28 +00:00
dan changed title from WIP add events wrapping enum to add events wrapping enum 2022-07-21 08:06:06 +00:00
sarah merged commit ec4e6f4c22 into main 2022-07-21 15:56:25 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/libcwtch-rs#18
No description provided.