Skip to content

Instantly share code, notes, and snippets.

@naan
Created December 8, 2010 21:45
Show Gist options
  • Save naan/733970 to your computer and use it in GitHub Desktop.
Save naan/733970 to your computer and use it in GitHub Desktop.
diff --git a/app/src/lib/user.py b/app/src/lib/user.py
index 2cf4643..7b3a1c7 100644
--- a/app/src/lib/user.py
+++ b/app/src/lib/user.py
@@ -134,6 +134,7 @@ class User(db.Model):
for param in params:
ret[param] = getattr(self, param)
+ ret['global_push_for_pro_users'] = True
return ret
@staticmethod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment