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

Fix room_invitation_payload function issue #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dwro0121
Copy link

Issue

I encountered issues when using the room_invitation_payload function. An unrelated variable name, InviterId, triggered an error. This pointed towards possible inconsistencies in how the function was handling its response compared to other functions in the system.

For more detailed background, please refer to the related issue: Issue #354.

Solution

On examining other functions, specifically the ones related to friendship, I observed that they directly returned the response. Believing this to be a more consistent and streamlined way of handling the functionality, I applied the same pattern to the room_invitation_payload function.

Changes

  • Adjusted the room_invitation_payload function to directly return the response, aligning its behavior with that of other functions like friendship.
  • Resolved the InviterId variable error.

I'd appreciate any feedback on these changes and any necessary adjustments you'd recommend.

Thank you!

@dwro0121 dwro0121 requested a review from a team as a code owner August 16, 2023 10:20
@CLAassistant
Copy link

CLAassistant commented Aug 16, 2023

CLA assistant check
All committers have signed the CLA.

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