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

update message class add #4

Closed
wants to merge 2 commits into from
Closed

update message class add #4

wants to merge 2 commits into from

Conversation

GnarLito
Copy link
Owner

begin for adding message class to client user.

TODO:

  • extend user class for userId can I get it a another way then search or message group?
  • POST send, update, leave, API endpoints

@GnarLito GnarLito linked an issue Nov 22, 2021 that may be closed by this pull request
@@ -58,7 +58,4 @@ def _from_data(self, data):

def _sync(self):
self.message_groups = [MessageGroup(state=self._state, data=group) for group in self._state.http.get_all_group_messages()]
Copy link
Owner Author

Choose a reason for hiding this comment

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

Issue:

  • unnessesery onload overhead (since is wont be used much)
  • dynamic data, meaning that the user can join and leave groups at runtime

ToDo:

  • set self.message_groups to class only self._message_groups
  • move group building to State machine #7

@GnarLito GnarLito closed this Nov 24, 2021
@GnarLito
Copy link
Owner Author

Solved by #13

@GnarLito GnarLito deleted the feature/messages branch November 25, 2021 18:31
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.

messaging/Notifications
1 participant