implement 'getCanonicalChannelList'

This commit is contained in:
ansuz
2017-04-07 15:52:34 +02:00
parent 09f8e139fe
commit e4b15bc616
2 changed files with 5 additions and 3 deletions

View File

@@ -11,8 +11,7 @@ define([
var synchronize = function (call) {
// provide a sorted list of unique channels
var list = Cryptpad.deduplicateString(Cryptpad.getUserChannelList())
.sort();
var list = Cryptpad.getCanonicalChannelList();
var localHash = call.hashChannelList(list);
var serverHash;