Follow API renaming. state -> presence. mtime_ago -> last_active_ago

This commit is contained in:
Emmanuel ROHEE 2014-09-01 19:09:17 +02:00
parent 74cffcf51a
commit 0271e8e692
3 changed files with 15 additions and 16 deletions

View file

@ -70,7 +70,7 @@ angular.module('matrixWebClient')
});
filtered.sort(function (a, b) {
return ((a["mtime_age"] || 10e10) > (b["mtime_age"] || 10e10) ? 1 : -1);
return ((a["last_active_ago"] || 10e10) > (b["last_active_ago"] || 10e10) ? 1 : -1);
});
return filtered;
};