diff --git a/cchat.go b/cchat.go index 8488d75..b0aaa04 100644 --- a/cchat.go +++ b/cchat.go @@ -83,7 +83,6 @@ package cchat import ( - cchat "cchat" "context" "fmt" text "github.com/diamondburned/cchat/text" @@ -638,7 +637,7 @@ type Noncer interface { // Frontends that support replies can assume that all messages in a Sender can // be replied to, and the backend can choose to do nothing to the replied ID. type Replier interface { - ReplyingTo() cchat.ID + ReplyingTo() ID } // SendableMessage is the bare minimum interface of a sendable message, that is, diff --git a/repository/gob/repository.gob b/repository/gob/repository.gob index a54688f..833143d 100644 Binary files a/repository/gob/repository.gob and b/repository/gob/repository.gob differ diff --git a/repository/main.go b/repository/main.go index 6922ec2..7eb1bb5 100644 --- a/repository/main.go +++ b/repository/main.go @@ -1926,7 +1926,7 @@ var Main = Packages{ Methods: []Method{ GetterMethod{ method: method{Name: "ReplyingTo"}, - Returns: []NamedType{{Type: "cchat.ID"}}, + Returns: []NamedType{{Type: "ID"}}, }, }, }, {