Commit c36aa9633bb315bc1864038668de9e1d4699af5e
1 parent
34570d51cd
Avoid normalizing twice
Showing 1 changed file with 2 additions and 2 deletions
app/scripts/vendor/coseme-client/client.js
View file @
c36aa96
... | ... | @@ -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); |