renamed Followings into Caching and fixed #85 (adding more files to the commit)

This commit is contained in:
Jeena Paradies 2012-12-07 09:18:02 +01:00
parent 34e3990af6
commit dacd2ee019
5 changed files with 25 additions and 67 deletions

View file

@ -33,8 +33,8 @@ function(HostApp, Timeline) {
var status = statuses[i];
var name;
if(this.followings.followings[status.entity]) {
name = this.followings.followings[status.entity].profile["https://tent.io/types/info/basic/v0.1.0"].name;
if(this.cache.followings[status.entity]) {
name = this.cache.followings[status.entity].profile["https://tent.io/types/info/basic/v0.1.0"].name;
}
HostApp.notificateUserAboutMention(status.content.text, name || status.entity, status.id, status.entity);