webXMPP

Check-in [121320eb4f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Regression; include nickname in parens w. selected correspondent
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | master | trunk
Files: files | file ages | folders
SHA3-256: 121320eb4fea1e5786f8578add55f1ab731f256fdcf5999add9747bdf01702e0
User & Date: web 2020-05-31 22:47:14
Context
2020-05-31
22:47
Regression; include nickname in parens w. selected correspondent Leaf check-in: 121320eb4f user: web tags: master, trunk
22:42
Optimize roster; dumping the whole thing on any single change was a waste of data. Instead, as much as possible send deltas, and let the JS side deal with building the latest selectable destinations (including their ordering). check-in: 3518f8e97d user: web tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to js/ui.js.

415
416
417
418
419
420
421





422
423
424
425
426
427
428
	} else if (st == "xa") {
	    nm = ". " + who;
	} else if (st == "dnd") {
	    nm = "* " + who;
	} else {
	    nm = "  " + who;
	}






	// Another dest we could pick
	ourDests[i+1] = new Option(nm, who, false, false);
    }
}
// WebXMPP server has given us messages
function gotMsgs() {







>
>
>
>
>







415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
	} else if (st == "xa") {
	    nm = ". " + who;
	} else if (st == "dnd") {
	    nm = "* " + who;
	} else {
	    nm = "  " + who;
	}

	// Add on nickname clue
	if (nick && (nick != tup[0])) {
	    nm = nm + " (" + nick + ")";
	}

	// Another dest we could pick
	ourDests[i+1] = new Option(nm, who, false, false);
    }
}
// WebXMPP server has given us messages
function gotMsgs() {