get_new_messages(): Return mentions only

Esse commit está contido em:
tastytea 2018-05-19 22:47:56 +02:00
commit df818317ac
Assinado por: tastytea
ID da chave GPG: 59346E0EA35C67E5
1 arquivos alterados com 5 adições e 1 exclusões

Ver arquivo

@ -100,7 +100,11 @@ std::vector<Easy::Notification> Listener::get_new_messages()
{
if (event.first == Easy::event_type::Notification)
{
v.push_back(Easy::Notification(event.second));
Easy::Notification notif(event.second);
if (notif.type() == Easy::notification_type::Mention)
{
v.push_back(notif);
}
}
}
count_empty = 0;