Index: trunk/extensions/LiquidThreads/classes/LqtThread.php |
— | — | @@ -136,7 +136,9 @@ |
137 | 137 | $this->editedness = Threads::EDITED_HAS_REPLY; |
138 | 138 | } |
139 | 139 | else if ( $change_type == Threads::CHANGE_EDITED_ROOT ) { |
140 | | - if ( $wgUser->getId() == 0 || $wgUser->getId() != $this->root()->originalAuthor()->getId() ) { |
| 140 | + $originalAuthor = $this->root()->originalAuthor(); |
| 141 | + if ( ( $wgUser->getId() == 0 && $originalAuthor->getName() != $wgUser->getName() ) |
| 142 | + || $wgUser->getId() != $originalAuthor->getId() ) { |
141 | 143 | $this->editedness = Threads::EDITED_BY_OTHERS; |
142 | 144 | } else if ( $this->editedness == Threads::EDITED_HAS_REPLY ) { |
143 | 145 | $this->editedness = Threads::EDITED_BY_AUTHOR; |