I just learned that URL unfurling is a thing, and now this chat client supports it (poorly).

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3335 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-09-17 20:53:03 +00:00
parent c9b528f1dc
commit a5def62efa
4 changed files with 103 additions and 10 deletions

View File

@ -251,4 +251,11 @@ exports.StanzaParser = function(depth) {
parse: parser.parse.bind(parser),
reset: parser.reset.bind(parser),
};
}
exports.StreamParser = function() {
let parser = new XmlStreamParser();
return {
parse: parser.parse.bind(parser),
};
}