misc.get_id returns the user's login id, which used to be the same as the user's uid until #85, which made the login id change every time the user does a password reset, in order to invalidate their old login sessions. The queries that get notifications and messages were using current_user.get_id() so they were only working for users who were still using their original password. Change them to use current_user.uid.
misc.get_id
returns the user's login id, which used to be the same as the user's uid until #85, which made the login id change every time the user does a password reset, in order to invalidate their old login sessions. The queries that get notifications and messages were usingcurrent_user.get_id()
so they were only working for users who were still using their original password. Change them to usecurrent_user.uid
.