[rohan] increase the position counter only when adding something to history list

This commit is contained in:
Nikos Kouremenos 2005-07-23 16:08:33 +00:00
parent 3722402bbc
commit 6718408bae
1 changed files with 1 additions and 1 deletions

View File

@ -994,8 +994,8 @@ class Chat:
self.sent_history[jid][max_size - 1] = message
else:
self.sent_history[jid].append(message)
self.sent_history_pos[jid] = size + 1
self.sent_history_pos[jid] = size + 1
self.typing_new[jid] = True
self.orig_msg[jid] = ''