Permalink
Browse files

mam: Actually use jid parameter

  • Loading branch information...
1 parent 99b0b77 commit a225401d0a1deacb8c1d1692dd8b5dc0436402c5 @Zash Zash committed Sep 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mam/strophe.mam.js
View
@@ -22,7 +22,7 @@ init:
query:
function(jid, options) {
var _p = this._p;
- var attr = {type:"get"};
+ var attr = {type:"get",to:jid};
var mamAttr = {xmlns: Strophe.NS.MAM};
var iq = $iq(attr).c("query", mamAttr);
for (i=0; i < this._p.length; i++) {

0 comments on commit a225401

Please sign in to comment.