|
|
@@ -111,10 +111,11 @@ module.exports = function(XMPP, eventEmitter) {
|
|
111
|
111
|
}
|
|
112
|
112
|
}
|
|
113
|
113
|
|
|
|
114
|
+ var url;
|
|
114
|
115
|
// Parse prezi tag.
|
|
115
|
116
|
var presentation = $(pres).find('>prezi');
|
|
116
|
117
|
if (presentation.length) {
|
|
117
|
|
- var url = presentation.attr('url');
|
|
|
118
|
+ url = presentation.attr('url');
|
|
118
|
119
|
var current = presentation.find('>current').text();
|
|
119
|
120
|
|
|
120
|
121
|
console.log('presentation info received from', from, url);
|
|
|
@@ -129,7 +130,7 @@ module.exports = function(XMPP, eventEmitter) {
|
|
129
|
130
|
}
|
|
130
|
131
|
}
|
|
131
|
132
|
else if (this.preziMap[from] != null) {
|
|
132
|
|
- var url = this.preziMap[from];
|
|
|
133
|
+ url = this.preziMap[from];
|
|
133
|
134
|
delete this.preziMap[from];
|
|
134
|
135
|
$(document).trigger('presentationremoved.muc', [from, url]);
|
|
135
|
136
|
}
|