diff options
author | Andrew Comminos <andrew@morlunk.com> | 2015-05-17 02:49:15 +0300 |
---|---|---|
committer | Andrew Comminos <andrew@morlunk.com> | 2015-05-17 02:49:15 +0300 |
commit | af3b5ccac6f513c966a4393c4334c1d72d40ba54 (patch) | |
tree | 5c36a739d9de6ccb6d4cf2ec241c1182d83f7402 /src/main/java/com/morlunk | |
parent | 8251330e85208fa17e1c6a1b7411dbbbf15f4756 (diff) |
Make user equality determined by session, not ID.
Diffstat (limited to 'src/main/java/com/morlunk')
-rw-r--r-- | src/main/java/com/morlunk/jumble/model/User.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/morlunk/jumble/model/User.java b/src/main/java/com/morlunk/jumble/model/User.java index 90797c1..559cbdf 100644 --- a/src/main/java/com/morlunk/jumble/model/User.java +++ b/src/main/java/com/morlunk/jumble/model/User.java @@ -233,7 +233,7 @@ public class User extends IUser.Stub implements Comparable<User> { User user = (User) o; - if (mId != user.mId) return false; + if (mSession != user.mSession) return false; return true; } |