mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 23:10:39 -04:00
Splitted queue of chat messages in chat service into public and private queue.
Reworked the interface of the chat service. So full recomile is needed. With disabled flags for private chat (RS_CHAT_OPEN_NEW and RS_CHAT_REOPEN), the incoming private chat messages are queued (only for the runtime) until the user shows the private chat dialog. When a new chat message is available, the icon of the gpg and ssl contact changed in MessengerWindow and PeersDialog and a new tray icon is shown. Fixed compiler warning. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7dd99a0c35
commit
7f837e9778
17 changed files with 597 additions and 329 deletions
|
@ -226,11 +226,17 @@ void NotifyQt::notifyListChange(int list, int type)
|
|||
#endif
|
||||
emit forumsChanged(); // use connect with Qt::QueuedConnection
|
||||
break;
|
||||
case NOTIFY_LIST_CHAT:
|
||||
case NOTIFY_LIST_PUBLIC_CHAT:
|
||||
#ifdef NOTIFY_DEBUG
|
||||
std::cerr << "received chat changed" << std::endl ;
|
||||
std::cerr << "received public chat changed" << std::endl ;
|
||||
#endif
|
||||
emit chatChanged();
|
||||
emit publicChatChanged(type);
|
||||
break;
|
||||
case NOTIFY_LIST_PRIVATE_CHAT:
|
||||
#ifdef NOTIFY_DEBUG
|
||||
std::cerr << "received private chat changed" << std::endl ;
|
||||
#endif
|
||||
emit privateChatChanged(type);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue