Clarify the units of origin_server_ts.
This commit is contained in:
		
							parent
							
								
									f9347bf57f
								
							
						
					
					
						commit
						9f43f37f41
					
				| @ -204,7 +204,8 @@ pub trait RoomEvent: Event { | ||||
|     /// The unique identifier for the event.
 | ||||
|     fn event_id(&self) -> &EventId; | ||||
| 
 | ||||
|     /// Timestamp in milliseconds on originating homeserver when this event was sent.
 | ||||
|     /// Timestamp (milliseconds since the UNIX epoch) on originating homeserver when this event was
 | ||||
|     /// sent.
 | ||||
|     fn origin_server_ts(&self) -> u64; | ||||
| 
 | ||||
|     /// The unique identifier for the room associated with this event.
 | ||||
|  | ||||
| @ -90,7 +90,8 @@ macro_rules! room_event { | ||||
|             #[serde(rename = "type")] | ||||
|             pub event_type: $crate::EventType, | ||||
| 
 | ||||
|             /// Timestamp in milliseconds on originating homeserver when this event was sent.
 | ||||
|             /// Timestamp (milliseconds since the UNIX epoch) on originating homeserver when this
 | ||||
|             /// event was sent.
 | ||||
|             pub origin_server_ts: u64, | ||||
| 
 | ||||
|             /// The unique identifier for the room associated with this event.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user