Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorsualko <github@spam.herberth.eu>2014-03-04 17:32:30 +0400
committersualko <github@spam.herberth.eu>2014-03-04 17:32:30 +0400
commit0b03e182c9a28ee172237e14c92e473dfa4ef682 (patch)
tree22dddbd81364dffd091954df03baacb522bd0d8f /build
parent999e5c8b5f18edf497d3a4a1a8cf6e0bbed7206e (diff)
- Reset default avatar cache on login
Diffstat (limited to 'build')
-rw-r--r--build/js/ojsxc.js5
-rw-r--r--build/sound/Ping1.mp3bin0 -> 56841 bytes
-rw-r--r--build/sound/credential11
3 files changed, 16 insertions, 0 deletions
diff --git a/build/js/ojsxc.js b/build/js/ojsxc.js
index 9a84144..6e8af5b 100644
--- a/build/js/ojsxc.js
+++ b/build/js/ojsxc.js
@@ -57,6 +57,11 @@ $(function() {
$(document).on('ready.roster.jsxc', onRosterReady);
$(document).on('toggle.roster.jsxc', onRosterToggle);
+
+ $(document).on('connected.jsxc', function(){
+ //reset default avatar cache
+ jsxc.storage.removeUserItem('defaultAvatars');
+ });
jsxc.log = "";
jsxc.tmp = null;
diff --git a/build/sound/Ping1.mp3 b/build/sound/Ping1.mp3
new file mode 100644
index 0000000..d429eee
--- /dev/null
+++ b/build/sound/Ping1.mp3
Binary files differ
diff --git a/build/sound/credential b/build/sound/credential
new file mode 100644
index 0000000..522d7ce
--- /dev/null
+++ b/build/sound/credential
@@ -0,0 +1,11 @@
+Rotary-Phone6.mp3
+===
+Creator: David English
+Source: http://www.beepzoid.com/old-phones/
+License: unknown
+
+Ping1.mp3
+===
+Creator: CameronMusic
+Source: https://soundcloud.com/freefilmandgamemusic/ping-1?in=freefilmandgamemusic/sets/free-notification-sounds-and
+License: cc 3.0, http://creativecommons.org/licenses/by/3.0/ \ No newline at end of file