From 497322cc6a22396d6f666165309ae7731cc72f8c Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 9 Feb 2017 13:52:34 +0000 Subject: [PATCH] Remove IDPair! --- .../matrix-org/dendrite/roomserver/types/types.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/types/types.go b/src/github.com/matrix-org/dendrite/roomserver/types/types.go index 6cfbcfccf..910ba303f 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/types/types.go +++ b/src/github.com/matrix-org/dendrite/roomserver/types/types.go @@ -45,13 +45,6 @@ func (a StateEntry) LessThan(b StateEntry) bool { 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. // It is when performing bulk event lookup in the database. type Event struct {