[polari/wip/fmuellner/combined-gsoc: 75/136] Added the getNotifyActionName in the UserTracker class.
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 75/136] Added the getNotifyActionName in the UserTracker class.
- Date: Tue, 26 Jul 2016 23:22:17 +0000 (UTC)
commit 043c4dd3fd7e9d37587d9bc0e72ffdde5074d3f3
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]