nolint on getResponseWithPDUsForCompleteSync

This commit is contained in:
Neil Alexander 2020-05-29 15:51:36 +01:00
parent 0177ea04c4
commit 2ef53ff726

View file

@ -570,6 +570,7 @@ func (d *Database) IncrementalSync(
// getResponseWithPDUsForCompleteSync creates a response and adds all PDUs needed
// to it. It returns toPos and joinedRoomIDs for use of adding EDUs.
// nolint:nakedret
func (d *Database) getResponseWithPDUsForCompleteSync(
ctx context.Context, res *types.Response,
userID string,