Commit 448f6cf8b63f7f1aca7184d9b57735567db1c3cc
1 parent
c385b07e45
Exists in
master
coba perbaikan
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
matrix-util.js
... | ... | @@ -47,9 +47,9 @@ MatrixUtil.prototype.updateBuddyState = function(jid, state, statusText, resourc |
47 | 47 | lastUpdate: moment().format('YYYY-MM-DD HH:mm:ss') |
48 | 48 | } |
49 | 49 | |
50 | - if (resource != 'undefined' && matrix.buddies[jid].resources.undefined) { | |
50 | + if (resource != 'undefined' && matrix.buddies[jid].resources['undefined']) { | |
51 | 51 | try { |
52 | - delete matrix.buddies[jid].resources.undefined; | |
52 | + delete matrix.buddies[jid].resources.['undefined']; | |
53 | 53 | } |
54 | 54 | catch(e) {}; |
55 | 55 | } |