Sebastian Krzyszkowiak
7 years ago
No known key found for this signature in database
GPG Key ID: E8F235CF3BDBC3FF
2 changed files with
3 additions and
2 deletions
-
lib/moxl/src/Moxl/Xec/Action/MAM/Get.php
-
lib/moxl/src/Moxl/Xec/Action/Presence/Muc.php
|
|
@ -59,6 +59,7 @@ class Get extends Action |
|
|
|
$g->setStart($this->_start); |
|
|
|
$g->setEnd($this->_end); |
|
|
|
$g->setBefore($this->_before); |
|
|
|
$g->setVersion($this->_version); |
|
|
|
$g->setAfter((string)$stanza->fin->set->last); |
|
|
|
$g->request(); |
|
|
|
} |
|
|
|
|
|
@ -75,8 +75,8 @@ class Muc extends Action |
|
|
|
$g->setStart(strtotime('-3 days')); |
|
|
|
} |
|
|
|
|
|
|
|
if ($this->_mam2) { |
|
|
|
$g->setVersion('2'); |
|
|
|
if (!$this->_mam2) { |
|
|
|
$g->setVersion('1'); |
|
|
|
} |
|
|
|
|
|
|
|
$g->request(); |
|
|
|