接入群消息实时提醒和重连补拉

This commit is contained in:
xhgit committed 2026-11-14 14:59:24 +08:00
1 parent 5ace82b0d7
commit b2e04e8174
10 files changed
+122 -33

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ func (s *Store) UploadAttachment(ctx context.Context, group, user, device, epoch
return err
}
defer tx.Rollback(ctx)
if err = lockSendingEpoch(ctx, tx, group, user, device, epoch); err != nil {
if _, err = lockSendingEpoch(ctx, tx, group, user, device, epoch); err != nil {
return err
}
inserted, err := tx.Exec(ctx, `