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

Added force sync param to party and tavern requests #7437

Conversation

TheHollidayInn
Copy link
Contributor

@TheHollidayInn TheHollidayInn commented May 23, 2016

Fixes #7407

Changes

I have forced the sync every time you are on the party/tavern page. This should help update chat and prevent the need for reloads.


UUID:

@TheHollidayInn
Copy link
Contributor Author

Cannot find module 'to-iso-string' npm install failed. I'm not sure how to update that.

@crookedneighbor
Copy link
Contributor

I have a few adjustments I'm making.

@TheHollidayInn
Copy link
Contributor Author

To the API-v3 branch?

@crookedneighbor
Copy link
Contributor

To this PR.

@crookedneighbor
Copy link
Contributor

Closing this. Re-open it against the develop branch.

@@ -2,7 +2,7 @@

habitrpg.controller("TavernCtrl", ['$scope', 'Groups', 'User', 'Challenges',
function($scope, Groups, User, Challenges) {
Groups.tavern()
Groups.tavern(true)
Copy link
Contributor

Choose a reason for hiding this comment

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

We shouldn't force a lookup of the Tavern every time, that'd be a lot of requests.

I think the source of the chat bug is that the cached version of the Tavern isn't persisting the new messages that get added.

@TheHollidayInn
Copy link
Contributor Author

@crookedneighbor Are you able to replicate the tavern part of this bug locally?

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.

None yet

2 participants