Fixed ReplyingTo invalid type

This commit is contained in:
diamondburned 2021-01-01 14:28:30 -08:00
parent 7cb512f8b1
commit 903fe9fbfd
3 changed files with 2 additions and 3 deletions

View File

@ -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,

Binary file not shown.

View File

@ -1926,7 +1926,7 @@ var Main = Packages{
Methods: []Method{
GetterMethod{
method: method{Name: "ReplyingTo"},
Returns: []NamedType{{Type: "cchat.ID"}},
Returns: []NamedType{{Type: "ID"}},
},
},
}, {