1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

Fix reference to bare JIDs

This commit is contained in:
Sam Whited 2015-09-02 22:22:03 -05:00 committed by Matthew A. Miller
parent 8c40f32172
commit e22172cf39

View File

@ -326,8 +326,8 @@
be useful know in advance if the roster has changed or not (so that we can be useful know in advance if the roster has changed or not (so that we can
avoid sending the large request entirely). To do this, we can request an avoid sending the large request entirely). To do this, we can request an
aggregate version token from the server. This aggregate token is calculated aggregate version token from the server. This aggregate token is calculated
by constructing a string of comma separated "bare JID:version" pairs sorted by constructing a string of comma separated "JID:version" pairs sorted in
in byte-wise order (because the JID:version pair is constructed before byte-wise order (because the JID:version pair is constructed before
sorting, if two items in the list have the same JID they can still be sorting, if two items in the list have the same JID they can still be
sorted by the version token), and taking the MD5 hash of the constructed sorted by the version token), and taking the MD5 hash of the constructed
string. For example, if the server is calculating the aggregate version string. For example, if the server is calculating the aggregate version