[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-messenger-build/master] Add patch for usernameSplits in xmpp.js
commit a9ce7a716a40d54e8a6b7d87e8aa21be897d9495
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
Date: Sun May 10 05:11:08 2015 -0400
Add patch for usernameSplits in xmpp.js
---
projects/instantbird/config | 1 +
projects/instantbird/xmpp-username-split.patch | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/projects/instantbird/config b/projects/instantbird/config
index f2da1fa..0d42169 100644
--- a/projects/instantbird/config
+++ b/projects/instantbird/config
@@ -71,6 +71,7 @@ input_files:
- filename: ctcp-ping.patch
- filename: xmpp-onion.patch
- filename: xmpp-resource.patch
+ - filename: xmpp-username-split.patch
- filename: version.patch
- filename: branding/name.patch
- filename: branding/default.png
diff --git a/projects/instantbird/xmpp-username-split.patch b/projects/instantbird/xmpp-username-split.patch
new file mode 100644
index 0000000..2ecab9d
--- /dev/null
+++ b/projects/instantbird/xmpp-username-split.patch
@@ -0,0 +1,16 @@
+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
+@@ -26,6 +26,12 @@
+ get name() "XMPP",
+ get iconBaseURI() "chrome://prpl-jabber/skin/",
+ getAccount: function(aImAccount) new XMPPAccount(this, aImAccount),
++
++ usernameSplits: [
++ {get label() _("options.domain"), separator: "@",
++ defaultValue: "jabber.org", reverse: true}
++ ],
++
+ options: {
+ resource: {get label() _("options.resource"),
+ get default() XMPPDefaultResource},
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits