Skip to content

fix pin concat crash#848

Merged
7w1 merged 1 commit into
devfrom
fix-concat-old-event-crash
May 15, 2026
Merged

fix pin concat crash#848
7w1 merged 1 commit into
devfrom
fix-concat-old-event-crash

Conversation

@7w1
Copy link
Copy Markdown
Member

@7w1 7w1 commented May 15, 2026

Description

Untested fix for #834 , just adds an additional check to make sure that we aren't trying to concat on an empty array which I think is likely what caused the crash.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@7w1 7w1 requested a review from hazre as a code owner May 15, 2026 04:50
@github-actions
Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-848-sable.raspy-dream-bb1d.workers.dev d04f84e pr-848 Fri, 15 May 2026 04:52:48 GMT

@7w1 7w1 merged commit 565d4b3 into dev May 15, 2026
12 checks passed
@7w1 7w1 deleted the fix-concat-old-event-crash branch May 15, 2026 04:53
Hr-ArshA pushed a commit to Hr-ArshA/Sable that referenced this pull request May 15, 2026
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Fix issues related to editing messages with links losing previews or
gaining \<> ([SableClient#847](<SableClient#847>) by
@7w1)
* Made markdown headers also function properly with single new lines
instead of only two new lines.
([SableClient#837](<SableClient#837>) by @7w1)
* Fix mentions not being linkfied.
([SableClient#837](<SableClient#837>) by @7w1)
* Fixed crash when rendering some `m.room.pinned_events` timeline rows
(old/malformed pin state edge case).
([SableClient#848](<SableClient#848>) by @7w1)
* Fixed reply chips for deleted messages and media without captions
showing `m.room.message` type instead of the event.
([SableClient#846](<SableClient#846>) by @7w1)
* Fixed room pings looking like normal message links instead of pings.
([SableClient#837](<SableClient#837>) by @7w1)
* Properly centered message loading indicators to avoid brief scrollbar
shift while loading messages.
([SableClient#849](<SableClient#849>) by @7w1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant