Bug 131951

Summary: "XXX has ended their participation in the chat session" should not generate flash in system tray
Product: [Applications] kopete Reporter: Dawid Ciężarkiewicz <dawid.ciezarkiewicz>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dawid Ciężarkiewicz 2006-08-06 12:35:24 UTC
Version:            (using KDE KDE 3.5.4)

In chat:

I'm saying "ok, back to work, cu" and close the window, then other side closes his/her window and "XXX has ended their participation in the chat session" makes my try flashing only because of that info. Little annoying.
Comment 1 Olivier Goffart 2006-08-07 16:49:18 UTC
SVN commit 570654 by ogoffart:

doesn't flash taskbar or show a bubble for the 'gone' notification
BUG: 131951

 M  +2 -1      jabbercontact.cpp  


--- branches/kopete/0.12/kopete/protocols/jabber/jabbercontact.cpp #570653:570654
@@ -301,7 +301,8 @@
 					Kopete::Message m=Kopete::Message ( this, mManager->members(),
 						i18n("%1 has ended their participation in the chat session.").arg(metaContact()->displayName()),
 						Kopete::Message::Internal  );
-					mManager->appendMessage ( m, message.from().resource () );
+					m.setImportance(Kopete::Message::Low);
+					mManager->view()->appendMessage ( m ); //use KopeteView::AppendMessage to bypass notifications
 				}
 			}
 		}