summaryrefslogtreecommitdiff
path: root/actions/apigroupmembership.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-20 13:42:58 -0700
committerBrion Vibber <brion@pobox.com>2010-09-20 13:42:58 -0700
commit64cdbe6c5578df1dc49d8e3dd72451ab0ac96bd2 (patch)
treef5e96cf37981093e762c745cd583f75950d842f5 /actions/apigroupmembership.php
parent2f38c9c99cb10be8fab28a624fa6f64cec6c0a9b (diff)
Ticket #2750: fixes to HTTP caching behavior across login/logout boundaries
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec * now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed) There'll still be some last-modified stamps that aren't including user info properly, probably.
Diffstat (limited to 'actions/apigroupmembership.php')
-rw-r--r--actions/apigroupmembership.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apigroupmembership.php b/actions/apigroupmembership.php
index ffd5c7c7d..b7f3064b5 100644
--- a/actions/apigroupmembership.php
+++ b/actions/apigroupmembership.php
@@ -183,6 +183,7 @@ class ApiGroupMembershipAction extends ApiPrivateAuthAction
return '"' . implode(
':',
array($this->arg('action'),
+ common_user_cache_hash($this->auth_user),
common_language(),
$this->group->id,
strtotime($this->profiles[0]->created),