mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-26 07:55:44 -04:00
Merge pull request #1361 from sehraf/pr_jsonfy-rsMsg
[jsonapi] add most remaining functions of rsMsg
This commit is contained in:
commit
18eee374f1
7 changed files with 272 additions and 76 deletions
|
@ -51,8 +51,9 @@ QIcon MessageUserNotify::getMainIcon(bool hasNew)
|
|||
|
||||
unsigned int MessageUserNotify::getNewCount()
|
||||
{
|
||||
unsigned int newInboxCount = 0;
|
||||
rsMail->getMessageCount(NULL, &newInboxCount, NULL, NULL, NULL, NULL);
|
||||
uint32_t newInboxCount = 0;
|
||||
uint32_t a, b, c, d, e; // dummies
|
||||
rsMail->getMessageCount(a, newInboxCount, b, c, d, e);
|
||||
|
||||
return newInboxCount;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue