Commit 9aad1dbd8f07d6eba6e9e6094c83f0883db090b6
Merge branch 'issue111' of /home/git/repositories/openwapp/openwapp
Showing 1 changed file
app/scripts/vendor/coseme-client/client.js
View file @
9aad1db
... | ... | @@ -856,9 +856,9 @@ |
856 | 856 | }, |
857 | 857 | |
858 | 858 | updateGroupProfile: function (gid, profileData) { |
859 | - var gid = this.getJID(gid); | |
859 | + var cosemeGid = this.getJID(gid); | |
860 | 860 | if (profileData.subject) { |
861 | - methods.call('group_setSubject', [gid, profileData.subject]); | |
861 | + methods.call('group_setSubject', [cosemeGid, profileData.subject]); | |
862 | 862 | } |
863 | 863 | if (profileData.photo) { |
864 | 864 | this._setPicture('group', profileData, gid); |