mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-31 10:07:36 +00:00
refactor: Use same order as in trait
This commit is contained in:
parent
65d7df290f
commit
b023866903
@ -281,6 +281,10 @@ impl state_res::Event for PduEvent {
|
||||
&self.sender
|
||||
}
|
||||
|
||||
fn origin_server_ts(&self) -> MilliSecondsSinceUnixEpoch {
|
||||
MilliSecondsSinceUnixEpoch(self.origin_server_ts)
|
||||
}
|
||||
|
||||
fn event_type(&self) -> &RoomEventType {
|
||||
&self.kind
|
||||
}
|
||||
@ -289,10 +293,6 @@ impl state_res::Event for PduEvent {
|
||||
&self.content
|
||||
}
|
||||
|
||||
fn origin_server_ts(&self) -> MilliSecondsSinceUnixEpoch {
|
||||
MilliSecondsSinceUnixEpoch(self.origin_server_ts)
|
||||
}
|
||||
|
||||
fn state_key(&self) -> Option<&str> {
|
||||
self.state_key.as_deref()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user