Skip to content

Commit

Permalink
Merge pull request #340 from whisperfish/guid
Browse files Browse the repository at this point in the history
Server GUID
  • Loading branch information
rubdos authored Oct 30, 2024
2 parents b6b9cf3 + df72d42 commit 09fe094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Envelope {
r#type: Some(entity.r#type),
timestamp: Some(entity.timestamp),
server_timestamp: Some(entity.server_timestamp),
server_guid: entity.source_uuid,
server_guid: Some(entity.guid),
content: entity.content,
..Default::default()
}
Expand All @@ -102,6 +102,7 @@ impl Envelope {
source_device: Some(entity.source_device),
timestamp: Some(entity.timestamp),
server_timestamp: Some(entity.server_timestamp),
server_guid: Some(entity.guid),
source_service_id: Some(source.uuid.to_string()),
content: entity.content,
..Default::default()
Expand Down

0 comments on commit 09fe094

Please sign in to comment.