Commit c385b07e45c877a7b4932d2986cd7080eb44b8bb

Authored by Adhidarma Hadiwinoto
1 parent 98d7a4294a
Exists in master

coba selesaikan masalah

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -41,7 +41,7 @@ MatrixUtil.prototype.updateBuddyState = function(jid, state, statusText, resourc
41 41 matrix.buddies[jid] = {resources: {}};
42 42 }
43 43  
44   - matrix.buddies[jid].resources[resource] = {
  44 + matrix.buddies[jid]['resources'][resource] = {
45 45 state: state,
46 46 statusText: statusText,
47 47 lastUpdate: moment().format('YYYY-MM-DD HH:mm:ss')