]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
notices have a create stamp not a modified stamp
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:53:20 +0000 (23:53 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 2 Dec 2008 04:53:20 +0000 (23:53 -0500)
darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz

actions/shownotice.php

index d32846aadc75def10706a9c7e111ea28d20e7640..51907575636ae88e82528691571796087ae7c2ce 100644 (file)
@@ -48,7 +48,7 @@ class ShownoticeAction extends StreamAction {
        }
 
        function last_modified() {
-               return max(strtotime($this->notice->modified),
+               return max(strtotime($this->notice->created),
                                   strtotime($this->profile->modified),
                                   ($this->avatar) ? strtotime($this->avatar->modified) : 0);
        }
@@ -57,7 +57,7 @@ class ShownoticeAction extends StreamAction {
                return 'W/"' . implode(':', array($this->arg('action'),
                                                                                  common_language(),
                                                                                  $this->notice->id,
-                                                                                 strtotime($this->notice->modified),
+                                                                                 strtotime($this->notice->created),
                                                                                  strtotime($this->profile->modified),
                                                                                  ($this->avatar) ? strtotime($this->avatar->modified) : 0));
        }