Skip to content

Dedup ValidateGroupMessages functions #489

@mkysel

Description

@mkysel

Do we need a new function here? It seems like the caller could convert the payloads to *mlsv1.GroupMessageInput and use ValidateGroupMessages above, couldn't they?

At least we should include an explanatory comment on when you should use one vs the other.

Originally posted by @neekolas in #485 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions