]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8066 Add encoded avatar url to userVariables so that mod_conference can use it...
authorKen Rice <krice@freeswitch.org>
Thu, 27 Aug 2015 17:06:08 +0000 (12:06 -0500)
committerKen Rice <krice@freeswitch.org>
Thu, 27 Aug 2015 17:06:08 +0000 (12:06 -0500)
html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index e993869bc7cf0d85c6d93b0dc9f971ae69da7fb6..a4faf52704bc21e2430c4eeed3c4bb4a5e901ff0 100644 (file)
@@ -636,7 +636,8 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
           dedEnc: data.useDedenc,
           mirrorInput: data.mirrorInput,
           userVariables: {
-            email : storage.data.email
+            email : storage.data.email,
+            avatar: "http://gravatar.com/avatar/" + md5(storage.data.email) + ".png?s=600"
           }
         });
 
@@ -672,7 +673,8 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
             dedEnc: data.useDedenc,
             mirrorInput: data.mirrorInput,
             userVariables: {
-              email : storage.data.email
+              email : storage.data.email,
+              avatar: "http://gravatar.com/avatar/" + md5(storage.data.email) + ".png?s=600"
             }
           });