1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Ahem, fix really

This commit is contained in:
Loic Blot
2014-10-09 18:35:40 +00:00
parent cd40b624b3
commit b0ae79b6ff
+1 -1
View File
@@ -157,7 +157,7 @@ function fetchInitialPeerList(jsondata) {
fn = jsondata['contacts'][val];
peerLabel = fn;
}
if ($.inArray(peerLabel, bufferedContacts) !== true) {
if ($.inArray(peerLabel, bufferedContacts) == -1) {
peerListBuf += '<li><a href="#" mailbox-navigation="' + val + '">' + peerLabel + '</a></li>';
bufferedContacts.push(peerLabel);
}