Skip to content

Room-server: fixed first message letters trim#453

Merged
zjs81 merged 1 commit into
zjs81:devfrom
HDDen:mcoa-roomsrv-alfa
May 18, 2026
Merged

Room-server: fixed first message letters trim#453
zjs81 merged 1 commit into
zjs81:devfrom
HDDen:mcoa-roomsrv-alfa

Conversation

@HDDen

@HDDen HDDen commented May 17, 2026

Copy link
Copy Markdown
Contributor

On room-servers, the first 4 characters of all incoming messages are truncated. Also, sender names was truncated. With this fix, they are now displayed in full again.

How to reproduce: Go to a room server, receive new messages, and check them.

Next, apply the fix and check again. New messages should now appear in full.

This fix was created using Codex: I took the current implementation in meshcore_open and compared it with the implementations from the firmware and meshcore_py. The fix involves aligning the mechanism with the latter two sources.

Screenshot room-server

@zjs81

zjs81 commented May 18, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@zjs81 zjs81 merged commit a50c0d0 into zjs81:dev May 18, 2026
6 checks passed
hermes-gadget added a commit to hermes-gadget/SigurdOS-client that referenced this pull request May 24, 2026
Cherry-picked from zjs81/meshcore-open:
- Room-server: fixed first message letters trim (HDDen)
  - Notification text no longer strips first 4 chars
  - Signed room-server posts use proper author prefix (roomAuthorPrefix)
  - isPlain includes isSigned for correct display logic
  - fourByteRoomContactKey uses actual prefix bytes, not msgText substring

Upstream has only 2 new commits vs our fork. Other pre-existing
differences (package rename, feature removals, branding) are
intentional - we keep our SlopOS identity.
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.

2 participants