[polari/wip/raresv/popoverRebasedOnTracker] Added the getNotifyActionName in the UserTracker class.



commit 8d6264e9d5a1d7419c20f97ced59337d1aa4ef7c
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]