Commit e4f287e
committed
fix(notifications): check unreadPrivateMessages on user object
While previously we just verify the number of unreadNotifications there is also a property of
unreadPrivateMessages on user object that refers to notifications for messages (duh). This code will
look for that in order to decide whether or not send a request to gather notifications data.1 parent 54cd18b commit e4f287e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | | - | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments