new notification fixes

This commit is contained in:
Mario Vavti
2017-10-08 22:21:19 +02:00
parent 991db280be
commit bcf4cb519a
8 changed files with 50 additions and 38 deletions

View File

@@ -297,7 +297,7 @@ class Ping extends \Zotlabs\Web\Controller {
killme();
}
if(argc() > 1 && argv(1) === 'messages') {
if(argc() > 1 && argv(1) === 'mail') {
$channel = \App::get_channel();
$t = q("select mail.*, xchan.* from mail left join xchan on xchan_hash = from_xchan
where channel_id = %d and mail_seen = 0 and mail_deleted = 0