]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/repeat.php
check if other user exists before unsub
[quix0rs-gnu-social.git] / actions / repeat.php
index a1c5f443fb70507876009423d9419d9c9d08e8de..b75523498b447cdfdbb489f53ed15d75d891a5c8 100644 (file)
@@ -106,13 +106,17 @@ class RepeatAction extends Action
     {
         $repeat = $this->notice->repeat($this->user->id, 'web');
 
+        common_broadcast_notice($repeat);
+
         if ($this->boolean('ajax')) {
             $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');
             $this->element('title', null, _('Repeated'));
             $this->elementEnd('head');
             $this->elementStart('body');
-            $this->element('p', array('id' => 'repeat_response'), _('Repeated!'));
+            $this->element('p', array('id' => 'repeat_response',
+                                      'class' => 'repeated'),
+                                _('Repeated!'));
             $this->elementEnd('body');
             $this->elementEnd('html');
         } else {