hannesmannerheim / qvitter

mirror. moved to https://git.gnu.io/h2p/Qvitter, send merge requests and issues there
https://git.gnu.io/h2p/Qvitter
GNU Affero General Public License v3.0
86 stars 26 forks source link

No need to check logged in user #183

Closed ghost closed 9 years ago

ghost commented 9 years ago

It's always the notice's author we want to check this for anyway.

I kept getting errors like, which are now fixed: Trying to get property of non-object in /srv/www/vhosts/se/umeahackerspace/social/%/htdocs/local/plugins/Qvitter/QvitterPlugin.php on line 594

I guess it might also screw up (somehow?) if some future awesome notice handling thing decided to run the StartNoticeDistribute event when the session is not currently used by the notice's author. But that's a bit far-fetched.

hannesmannerheim commented 9 years ago

bra jobb!