merged from gramsrv upstream

This commit is contained in:
onysd 2026-09-01 12:06:31 +03:00
parent 79c64ee916
commit 21a0856587
651 changed files with 54774 additions and 4590 deletions

View file

@ -293,7 +293,11 @@ func tgReadHistoryInboxUpdate(event domain.UpdateEvent) tg.UpdateClass {
}
return update
}
return tgReadHistoryInbox(event)
update := tgReadHistoryInbox(event)
if update == nil {
return nil
}
return update
}
func tgReadHistoryOutbox(event domain.UpdateEvent) *tg.UpdateReadHistoryOutbox {
@ -316,5 +320,9 @@ func tgReadHistoryOutboxUpdate(event domain.UpdateEvent) tg.UpdateClass {
MaxID: event.MaxID,
}
}
return tgReadHistoryOutbox(event)
update := tgReadHistoryOutbox(event)
if update == nil {
return nil
}
return update
}