Commit 6a57e07acca7e7c403effede2d8b6cd030e9054a
1 parent
b2a87e63e2
Exists in
master
perbaikan salah nama variabel
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
matrix-util.js
... | ... | @@ -140,7 +140,7 @@ MatrixUtil.prototype._updateLastMessage = function(partner, msg, direction) { |
140 | 140 | matrix.buddies[partner] = {}; |
141 | 141 | } |
142 | 142 | |
143 | - matrix.buddies[destination]['last_' + direction] = { | |
143 | + matrix.buddies[partner]['last_' + direction] = { | |
144 | 144 | msg: msg, |
145 | 145 | lastUpdate: moment().format('YYYY-MM-DD HH:mm:ss') |
146 | 146 | } |