fix unable to mark all messages read

This commit is contained in:
Mario Vavti 2017-11-06 09:34:20 +01:00 committed by Mario
parent 6e48c36519
commit 4be48b8d8b

View File

@ -221,7 +221,7 @@ class Ping extends \Zotlabs\Web\Controller {
intval(local_channel())
);
break;
case 'messages':
case 'mail':
$r = q("update mail set mail_seen = 1 where mail_seen = 0 and channel_id = %d ",
intval(local_channel())
);