minor: Rename previously_selected of message selected event.

This is done since we have logic in place which compares `event.id`
and `event.previously_selected`, both of which point to message ids.
This commit is contained in:
Ryan Rehman
2020-09-13 21:59:24 +05:30
committed by Tim Abbott
parent 4d38cab9b9
commit 20775e5429
3 changed files with 7 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ class MessageList {
...opts,
id,
msg_list: this,
previously_selected: this.data.selected_id(),
previously_selected_id: this.data.selected_id(),
};
const convert_id = (str_id) => {