mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-14 08:08:53 -05:00
removed all left rsnotify elements and moved uint32 flags to proper enum classes
This commit is contained in:
parent
116c7f1aec
commit
ff68c770d8
37 changed files with 360 additions and 235 deletions
|
|
@ -132,7 +132,7 @@ void ChatUserNotify::iconClicked()
|
|||
{
|
||||
ChatDialog *chatDialog = NULL;
|
||||
// ChatWidget removes the waiting chat from the list with clearWaitingChat()
|
||||
chatDialog = ChatDialog::getChat(waitingChats.begin()->first, RS_CHAT_OPEN | RS_CHAT_FOCUS);
|
||||
chatDialog = ChatDialog::getChat(waitingChats.begin()->first, RsChatFlags::RS_CHAT_OPEN | RsChatFlags::RS_CHAT_FOCUS);
|
||||
|
||||
if (chatDialog == NULL) {
|
||||
MainWindow::showWindow(MainWindow::Friends);
|
||||
|
|
@ -144,7 +144,7 @@ void ChatUserNotify::chatMessageReceived(ChatMessage msg)
|
|||
{
|
||||
if(!msg.chat_id.isBroadcast()
|
||||
&&( ChatDialog::getExistingChat(msg.chat_id)
|
||||
|| (Settings->getChatFlags() & RS_CHAT_OPEN)
|
||||
|| (Settings->getChatFlags() & (uint32_t)RsChatFlags::RS_CHAT_OPEN)
|
||||
|| msg.chat_id.isDistantChatId()))
|
||||
{
|
||||
ChatDialog::chatMessageReceived(msg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue