mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -26,6 +26,7 @@ nonisolated enum TimelineItemIdentifier: Hashable {
|
||||
self.init(rustValue.id)
|
||||
}
|
||||
|
||||
// periphery:ignore - might be useful to have
|
||||
var rustValue: TimelineUniqueId {
|
||||
.init(id: value)
|
||||
}
|
||||
@@ -69,6 +70,7 @@ nonisolated enum TimelineItemIdentifier: Hashable {
|
||||
return eventID
|
||||
}
|
||||
|
||||
// periphery:ignore - might be useful to have
|
||||
var transactionID: String? {
|
||||
guard case let .event(_, .transactionID(transactionID)) = self else { return nil }
|
||||
return transactionID
|
||||
|
||||
Reference in New Issue
Block a user