The picker accepts one MP4 or WebM, the thread lightbox zooms photos, and Discord gets the video as a file on a follow-up message so photo embeds still render.
This commit is contained in:
@@ -5,5 +5,7 @@ import "context"
|
||||
// Nop is a Publisher used when nothing is subscribed.
|
||||
type Nop struct{}
|
||||
|
||||
// Publish discards ev.
|
||||
func (Nop) Publish(context.Context, any) {}
|
||||
// Publish discards ev after releasing any held upload.
|
||||
func (Nop) Publish(_ context.Context, ev any) {
|
||||
CallRelease(ev)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user