[polari/wip/fmuellner/combined-gsoc: 63/103] Added the getNotifyActionName in the UserTracker class.



commit ca65eca3da8fbc4ad720cdf2a80c49d48ba522fb
Author: raresv <rares visalom gmail com>
Date:   Fri Jul 15 00:04:10 2016 +0300

    Added the getNotifyActionName in the UserTracker class.

 src/userTracker.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index 90b660b..ddfdb63 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -432,5 +432,9 @@ const UserTracker = new Lang.Class({
 
         let baseNick = Polari.util_get_basenick(member.alias);
         this.emit("notification-emitted::" + baseNick);
+    },
+
+    getNotifyActionName: function(nickName) {
+        return 'notify-user-' + this.account.get_path_suffix() + '-' + Polari.util_get_basenick(nickName);
     }
 });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]