Use new command for "syncing" hotlist.
This patch also implements parsing version message and using that to check that the WeeChat is new enough to use the new command.
This commit is contained in:
parent
703e67a221
commit
c71ce1b404
4 changed files with 28 additions and 8 deletions
|
@ -8,6 +8,9 @@
|
|||
var models = angular.module('weechatModels', []);
|
||||
|
||||
models.service('models', ['$rootScope', '$filter', function($rootScope, $filter) {
|
||||
// WeeChat version
|
||||
this.version = null;
|
||||
|
||||
var parseRichText = function(text) {
|
||||
var textElements = weeChat.Protocol.rawText2Rich(text),
|
||||
typeToClassPrefixFg = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue