Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Get connected world by wallet #348

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

kevinszuchet
Copy link
Contributor

@kevinszuchet kevinszuchet commented Mar 4, 2025

  • Added new blocks table with blocker/blocked addresses and timestamps
  • Implemented block user RPC endpoints (blockUser, unblockUser, getBlockedUsers)
  • Added real-time block status subscriptions via subscribeToBlockUpdates
  • Integrated blocking with existing friendship system (migrating common queries to new file: queries.ts)

@coveralls
Copy link

Coverage Status

coverage: 86.715% (+0.2%) from 86.527%
when pulling b6e4abb on feat/get-where-wallet-is-connected
into 69f5726 on main.

try {
const body = await request.text()
const authorization = request.headers.get('Authorization') || ''
if (!authorization) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we validate the value in authorization?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The authorization is provided by the livekit webhook, and the receive method of the WebhookReceiver from the livekit SDK validates the authorization token.

@kevinszuchet kevinszuchet merged commit d76405f into main Mar 5, 2025
9 checks passed
@kevinszuchet kevinszuchet deleted the feat/get-where-wallet-is-connected branch March 5, 2025 19:50
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.

3 participants