diff --git a/cchat.go b/cchat.go index 7060445..01a38a2 100644 --- a/cchat.go +++ b/cchat.go @@ -236,12 +236,12 @@ type Author interface { // freeze the UI until the method is cancelled. This works even when the backend // does not use the context. type Backlogger interface { - // Backlogger fetches messages before the given message ID into the + // Backlog fetches messages before the given message ID into the // MessagesContainer. // // This method is technically a ContainerMethod, but is listed as an IOMethod // because of the additional message ID parameter. - Backlogger(ctx context.Context, before ID, msgc MessagesContainer) error // Blocking + Backlog(ctx context.Context, before ID, msgc MessagesContainer) error // Blocking } // Commander is an optional interface that a session could implement for command diff --git a/repository/main.go b/repository/main.go index b8f3dcc..0fe9310 100644 --- a/repository/main.go +++ b/repository/main.go @@ -1101,14 +1101,14 @@ var Main = Packages{ IOMethod{ // technically a ContainerMethod. method: method{ Comment: Comment{` - Backlogger fetches messages before the given message - ID into the MessagesContainer. + Backlog fetches messages before the given message ID + into the MessagesContainer. This method is technically a ContainerMethod, but is listed as an IOMethod because of the additional message ID parameter. `}, - Name: "Backlogger", + Name: "Backlog", }, Parameters: []NamedType{ {"ctx", "context.Context"},