Permalink
Browse files

[Jabber] Added default config for Attentions

  • Loading branch information...
1 parent 75163d8 commit 2f5511f60cb3f13214979d0d5c950c169ec30444 @nico-izo nico-izo committed Apr 18, 2012
@@ -45,6 +45,13 @@
"Sound": true,
"Tray": false
},
+ "Attention": {
+ "ChatNotifications": true,
+ "ContactList": false,
+ "Popup": true,
+ "Sound": false,
+ "Tray": false
+ },
"BlockedMessage": {
"ChatNotifications": false,
"ContactList": false,
@@ -43,6 +43,13 @@
"Sound": true,
"Tray": false
},
+ "Attention": {
+ "ChatNotifications": true,
+ "ContactList": false,
+ "Popup": true,
+ "Sound": false,
+ "Tray": false
+ },
"BlockedMessage": {
"ChatNotifications": false,
"ContactList": false,
@@ -43,6 +43,13 @@
"Sound": true,
"Tray": false
},
+ "Attention": {
+ "ChatNotifications": true,
+ "ContactList": false,
+ "Popup": true,
+ "Sound": false,
+ "Tray": false
+ },
"BlockedMessage": {
"ChatNotifications": false,
"ContactList": false,
@@ -38,6 +38,7 @@
#include "protocol/modules/activitypep/jpersonactivityconverter.h"
#include "protocol/modules/activitypep/jactivitychooser.h"
#include "protocol/modules/proxy/jproxymanager.h"
+#include "protocol/modules/attention/jattention.h"
namespace Jabber
{
@@ -137,6 +138,10 @@ void JPlugin::init()
QT_TRANSLATE_NOOP("Plugin", "Jabber proxy support"),
new SingletonGenerator<JProxyManager, NetworkProxyManager>(),
ExtensionIcon("im-jabber"));
+ addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Attention support"),
+ QT_TRANSLATE_NOOP("Plugin", "Jabber Attention support (XEP-0224)"),
+ new SingletonGenerator<JAttention, JabberExtension>(),
+ ExtensionIcon("dialog-warning"));
}
bool JPlugin::load()
@@ -2,7 +2,7 @@
**
** qutIM - instant messenger
**
-** Copyright © 2011 Ruslan Nigmatullin <euroelessar@yandex.ru>
+** Copyright © 2012 Nicolay Izoderov <nico-izo@ya.ru>
**
*****************************************************************************
**

0 comments on commit 2f5511f

Please sign in to comment.