mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
gotd: don't return run context error from channel state
This commit is contained in:
@@ -98,7 +98,7 @@ func (s *channelState) Push(ctx context.Context, u channelUpdate) error {
|
||||
case <-ctx.Done():
|
||||
return ctx.Err()
|
||||
case <-s.runCtx.Done():
|
||||
return s.runCtx.Err()
|
||||
return nil
|
||||
case s.updates <- u:
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user