Skip to content

feat: ✨ fully support sending and receiving GIFs#175

Draft
clins1994 wants to merge 12 commits into
beeper:mainfrom
clins1994:feat/gif-support
Draft

feat: ✨ fully support sending and receiving GIFs#175
clins1994 wants to merge 12 commits into
beeper:mainfrom
clins1994:feat/gif-support

Conversation

@clins1994

Copy link
Copy Markdown
Contributor

Replacement for #141 after GitHub refused reopening the closed PR. This branch is pushed from a Beeper-network fork and includes the conflict-resolution merge from current main.


Fixes #90

Summary

  • advertise GIF support to Matrix/Beeper capabilities
  • send outbound Matrix/Beeper GIFs to LINE as image messages with GIF media metadata
  • receive LINE animated images as Matrix fi.mau.gif video messages and fetch original OBS media when needed
  • keep plain media uploads compatible with LINE OBS metadata without separately uploading thumbnails

Validation

  • CGO_ENABLED=0 go test ./pkg ./pkg/connector ./pkg/connector/handlers ./pkg/e2ee ./pkg/line ./pkg/line/password ./pkg/line/secret
  • docker compose build
  • docker compose up --build -d and live bridge startup/log smoke check

See comments below for a QA list

Screenshots

Screenshot 2026-05-16 at 13 32 43 Screenshot 2026-05-16 at 13 33 23 Kapture 2026-05-16 at 13 38 51

Notes

Full local go test $(go list ./... | grep -v /ltsm) and go vet require libolm headers on the host; Docker build validates with olm-dev installed in the builder image.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@clins1994, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 18 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d2a10964-a69d-42ef-8fc5-f3c948d4c16e

📥 Commits

Reviewing files that changed from the base of the PR and between 2914bdb and 51b896d.

📒 Files selected for processing (9)
  • pkg/connector/handle_message.go
  • pkg/connector/handlers/handler.go
  • pkg/connector/handlers/image.go
  • pkg/connector/handlers/video.go
  • pkg/connector/media.go
  • pkg/connector/send_message.go
  • pkg/connector/userinfo.go
  • pkg/line/client.go
  • pkg/line/methods.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@clins1994 clins1994 changed the title Add GIF support feat: ✨ fully support sending and receiving GIFs Jun 7, 2026
@clins1994 clins1994 marked this pull request as draft June 7, 2026 06:58
@clins1994

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

feat: ✨ send GIFs from beeper

1 participant