mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-02-25 14:03:09 -06:00
Remove IDPair!
This commit is contained in:
parent
7ef832a6f3
commit
497322cc6a
|
|
@ -45,13 +45,6 @@ func (a StateEntry) LessThan(b StateEntry) bool {
|
||||||
return a.EventNID < b.EventNID
|
return a.EventNID < b.EventNID
|
||||||
}
|
}
|
||||||
|
|
||||||
// An IDPair is a pair of a string ID and the corresponding numeric ID.
|
|
||||||
// It is used when performing bulk numeric ID lookup in the database.
|
|
||||||
type IDPair struct {
|
|
||||||
ID string
|
|
||||||
NID int64
|
|
||||||
}
|
|
||||||
|
|
||||||
// An Event is a gomatrixserverlib.Event with the numeric event ID attached.
|
// An Event is a gomatrixserverlib.Event with the numeric event ID attached.
|
||||||
// It is when performing bulk event lookup in the database.
|
// It is when performing bulk event lookup in the database.
|
||||||
type Event struct {
|
type Event struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue