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

[tor-commits] [tor-messenger-build/master] Add resource patch for last commit



commit 3b686bf131b8b424aee4fdfb08579025b373e599
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
Date:   Sat Sep 12 10:00:20 2015 -0400

    Add resource patch for last commit
---
 projects/instantbird/xmpp-gtalk-resource.patch |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/projects/instantbird/xmpp-gtalk-resource.patch b/projects/instantbird/xmpp-gtalk-resource.patch
new file mode 100644
index 0000000..c9fcd59
--- /dev/null
+++ b/projects/instantbird/xmpp-gtalk-resource.patch
@@ -0,0 +1,24 @@
+diff --git a/chat/protocols/gtalk/gtalk.js b/chat/protocols/gtalk/gtalk.js
+--- a/chat/protocols/gtalk/gtalk.js
++++ b/chat/protocols/gtalk/gtalk.js
+@@ -96,7 +96,7 @@
+   getAccount: function(aImAccount) { return new GTalkAccount(this, aImAccount); },
+   options: {
+     resource: {get label() { return _("options.resource"); },
+-               get default() { return XMPPDefaultResource; }}
++               default: "Instantbird"}}
+   },
+   get chatHasTopic() { return true; },
+   classID: Components.ID("{38a224c1-6748-49a9-8ab2-efc362b1000d}")
+diff --git a/chat/protocols/xmpp/xmpp.js b/chat/protocols/xmpp/xmpp.js
+--- a/chat/protocols/xmpp/xmpp.js
++++ b/chat/protocols/xmpp/xmpp.js
+@@ -36,7 +36,7 @@
+ 
+   options: {
+     resource: {get label() { return _("options.resource"); },
+-               get default() { return XMPPDefaultResource; }},
++               default: "Instanbird"}},
+     priority: {get label() { return _("options.priority"); }, default: 0},
+     connection_security: {
+       get label() { return _("options.connectionSecurity"); },

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits