`activity` field in api is incorrect
Created by: trevorah
You would expect the boolean activity
field to represent the lurk indicator, but it doesnt.
You get json payloads like this:
{
"tags": [],
"userCount": 2,
"topic": "",
"oneToOne": true,
"lastAccessTime": "2016-02-23T15:04:45.454Z",
"roomMember": true,
"url": "/mydigitalself",
"id": "XXXXXX",
"v": 2,
"unreadItems": 0,
"name": "Mike Bartlett",
"noindex": false,
"githubType": "ONETOONE",
"lurk": false,
"mentions": 0,
"user": {
"id": "XXXXXX",
"v": 22,
"username": "mydigitalself",
"avatarUrlSmall": "https://avatars1.githubusercontent.com/u/1491887?v=3&s=60",
"gv": "3",
"displayName": "Mike Bartlett",
"url": "/mydigitalself",
"avatarUrlMedium": "https://avatars1.githubusercontent.com/u/1491887?v=3&s=128"
},
"activity": true,
"favourite": 3
}
Note that the activity
field is true, even though there are no unread messages or mentions, and im not lurking in that room.
PS, the activity
property doesnt show up in all /rooms
results.
Relevant code
Edited by Eric Eastwood