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 puppet not set issue in RoomInvitation #414

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

Conversation

dwro0121
Copy link

Issue

Whenever operations related to room invitations were performed, an error <puppet not set> occurred. After tracing the root of the problem, it was identified that the load method in the RoomInvitation class was not correctly associating the puppet with the new instance of RoomInvitation.

Further details can be found in the related issue: Issue #354.

Solution

Adjusted the load method in the RoomInvitation class. The method was previously creating a new instance of RoomInvitation without correctly setting up the puppet. By using the cls method for instantiation, we ensure that the puppet is properly associated with the RoomInvitation object.

Changes

  • Refactored the load method in the RoomInvitation class to utilize cls for instantiation, ensuring the puppet is set correctly.

Please review these changes and let me know if further adjustments are required.

Thank you!

@dwro0121 dwro0121 requested a review from a team as a code owner August 16, 2023 10:02
@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