add fixme pointing out name disambiguation is a bit flakey

This commit is contained in:
Matthew Hodgson 2014-08-22 01:32:17 +01:00
parent 1b0d427285
commit 019f3a66f6
1 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,9 @@ angular.module('matrixWebClient')
// console.log(key + ": " + value);
for (var i=0; i < value.length; i++) {
var v = value[i];
// FIXME: this permenantly rewrites the displayname for a given
// room member. which means we can't reset their name if it is
// no longer ambiguous!
members[v].displayname += " (" + v + ")";
// console.log(v + " " + members[v]);
};