Skip to content

[Feature] Active status - #338

Merged
madsmtm merged 8 commits into
fbchat-dev:masterfrom
kapi2289:active_status
Jan 31, 2019
Merged

[Feature] Active status#338
madsmtm merged 8 commits into
fbchat-dev:masterfrom
kapi2289:active_status

Conversation

@kapi2289

Copy link
Copy Markdown
Contributor

Description

  • Added ActiveStatus model
  • Added changing client active status while listening
  • Added fetching friends' active status
  • Fixed onImageChange documentation and added missing msg parameter
  • Moved on methods to the right place

- Fixed `onImageChange` documentation and added missing `msg` parameter
- Moved `on` methods to the right place
- Added changing client active status while listening
- Added fetching friends' active status

@madsmtm madsmtm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, it's nice to have these methods! Have you had a look at #273? Is the issues we were having there still relevant?

Comment thread fbchat/client.py
Comment thread fbchat/client.py
Comment thread fbchat/client.py Outdated
@kapi2289

Copy link
Copy Markdown
Contributor Author

Yes, I saw that, this was fixed by #327 😉

@madsmtm madsmtm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You should have a look at #260, there's some information that we're not using here yet. Maybe something in "vc" would tell us the users in_game status? And there's also information about wether a user is callable. But if you're right about #327 fixing this, then maybe we should use #273 first? And then build the buddylist caching and getUserActiveStatus on top of that?

Comment thread fbchat/client.py
Comment thread fbchat/client.py Outdated
Comment thread fbchat/models.py
Comment thread fbchat/client.py Outdated
Comment thread fbchat/client.py
Comment thread fbchat/client.py Outdated

@madsmtm madsmtm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Almost there, but doOneListen is public (documented) API, so we can't change the parameter. Just deprecate it instead.

Comment thread fbchat/client.py
Comment thread fbchat/client.py
@madsmtm
madsmtm merged commit 2b580c6 into fbchat-dev:master Jan 31, 2019
@madsmtm

madsmtm commented Jan 31, 2019

Copy link
Copy Markdown
Member

🎉

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