fix unable to mark all messages read

This commit is contained in:
Mario Vavti 2017-11-06 09:34:20 +01:00
parent 04d66ba7f4
commit 9cd715bbbf

View File

@ -219,7 +219,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())
);