fixed conversation view

This commit is contained in:
jeena 2013-09-04 19:37:17 +02:00
parent 27a9c51106
commit 512688f5ab
7 changed files with 93 additions and 96 deletions

View file

@ -78,9 +78,11 @@ function(HostApp, Timeline, URI, APICalls, Core) {
Mentions.prototype.setAllMentionsRead = function() {
this.unread_mentions = 0;
HostApp.unreadMentions(this.unread_mentions);
this.updateLatestMentionRead();
//this.updateLatestMentionRead();
}
// FIXME: those two functions need to be rewritten
/*
Mentions.prototype.updateLatestMentionRead = function() {
for (var i = 0; i < this.body.childNodes.length; i++) {
@ -142,7 +144,7 @@ function(HostApp, Timeline, URI, APICalls, Core) {
APICalls.http_call(url.toString(), "GET", callback); // FIXME: error callback
});
}
*/
return Mentions;