Commit e857c8e699b89dea85c6fc41e90d124a85a07718

Authored by Adhidarma Hadiwinoto
1 parent 285a6d184e
Exists in master

matrix waiting_for_response

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

... ... @@ -177,6 +177,8 @@ MatrixUtil.prototype._updateLastMessage = function(partner, msg, direction) {
177 177 }
178 178 }
179 179  
  180 + matrix.buddies[partner]['waiting_for_response'] = (direction == 'outgoing');
  181 +
180 182 matrix.buddies[partner]['last_' + direction] = {
181 183 msg: msg,
182 184 last_update: moment().format(momentFormat),