Skip to content

fix: use correct Nextcloud chat poll endpoint#1008

Open
pandego wants to merge 1 commit intoRightNow-AI:mainfrom
pandego:fix/987-nextcloud-chat-endpoint
Open

fix: use correct Nextcloud chat poll endpoint#1008
pandego wants to merge 1 commit intoRightNow-AI:mainfrom
pandego:fix/987-nextcloud-chat-endpoint

Conversation

@pandego
Copy link
Copy Markdown

@pandego pandego commented Apr 7, 2026

Closes #987

Summary

  • switch Nextcloud long polling to the documented v1/chat/{token} endpoint
  • add the shorter timeout=10 query parameter recommended by the reporter
  • cover the poll URL shape with a focused regression test

Testing

  • cargo test -p openfang-channels nextcloud -- --nocapture
  • cargo clippy -p openfang-channels --all-targets -- -D warnings

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.

Nextcloud channel: Chat poll uses wrong API endpoint (v4/room/{token}/chat instead of v1/chat/{token})

1 participant